Changeset 909 for TI01-discovery/trunk/ingestAutomation/exist_backup.py
- Timestamp:
- 10/05/06 16:23:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/trunk/ingestAutomation/exist_backup.py
r720 r909 12 12 # 13 13 # 27/02/06 SEL First version 14 # 10/05/06 SEL Had to add password as one has now been set. 15 # Note password is not actually in this public version. 16 # Have to change xxxxx to actual in production version. 14 17 # 15 18 import sys … … 37 40 print " Backup directory: ", backup_directory 38 41 39 cmd = "/usr/local/eXist/bin/backup_ndg.sh -d /usr/local/eXist/backup -u admin - b /db -ouri=" + database42 cmd = "/usr/local/eXist/bin/backup_ndg.sh -d /usr/local/eXist/backup -u admin - p xxxxxxx -b /db -ouri=" + database 40 43 print "Executing: ", cmd 41 44 status = os.system (cmd)
Note: See TracChangeset
for help on using the changeset viewer.