Changeset 909 for TI01-discovery/trunk


Ignore:
Timestamp:
10/05/06 16:23:05 (14 years ago)
Author:
root
Message:

Had to put the -p option in the exist backup now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ingestAutomation/exist_backup.py

    r720 r909  
    1212# 
    1313#   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. 
    1417# 
    1518import sys 
     
    3740print " Backup directory: ", backup_directory 
    3841 
    39 cmd = "/usr/local/eXist/bin/backup_ndg.sh -d /usr/local/eXist/backup -u admin -b /db -ouri=" + database 
     42cmd = "/usr/local/eXist/bin/backup_ndg.sh -d /usr/local/eXist/backup -u admin - p xxxxxxx -b /db -ouri=" + database 
    4043print "Executing: ", cmd 
    4144status = os.system (cmd) 
Note: See TracChangeset for help on using the changeset viewer.