Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
You should have an up to date copy of the master conditions database locally, now.
The conditions database can be backed up using a command similar to the following:
Code Block | ||
---|---|---|
| ||
mysqldump -h hpsdb.jlab.org -ujeremym -pXXXXXX hps_conditions &> hps_conditions.sql |
... where 'jeremym' is replaced by your account name and 'XXXXXX' with your password.
To load the database from a backup, the following command would be used.
Code Block | ||
---|---|---|
| ||
mysql -h hpsdb.jlab.org -u jeremym -pXXXXXX hps_conditions < hps_conditions.sql |
The above command is listed for reference only and you should not try to execute it.
Fully restoring the database from a backup would need to go through a JLAB CCPR, as the accounts we have access to do not have all the proper permissions for doing this.
...