User Tools

Site Tools


database:database

This is an old revision of the document!


Databases

How to make a snapshop of the online database

On lxplus, do:

SetupProject LHCb --dev --use-grid
lhcb-proxy-init

Now create a folder where your database should be, like ~/mydatabase. Set this path to $SQLITEDBPATH Then do:

CondDBAdmin_MakeSnapshot.py --options $SQLDDDBROOT/options/SQLDDDB-Oracle.py -s 2010-02-01UTC -u yyyy-mm-ddUTC ONLINE sqlite_file:myFileName.db/ONLINE

where yyyy-mm-dd is the date in year-month-day which it should cover.

database/database.1272982469.txt.gz · Last modified: 2010/05/04 16:14 by decianm