To manually run the
post_olb_script, you need to do the following:
- Open a bash -login. In Windows, Start->Run, write: bash -login, and press enter. In Linux, just open a terminal, and change directory (cd) to $SPECROOT/
- run: cd custom/CsScript
- run: ./post_olb_script ../SS-DB-BACKUP/<ss_db_filename>.SSdb <Compression enabled> <BackupID> <TIME>
Each parameter is documented in post_olb_script itself
# $1 - ss_db_filename ( without .gz extension, if compressed )
# ie. E:/Spectrum/SS-DB-Backup/db_19990702_1638.SSdb
# $2 - Compression enabled, ie. COMPRESS or NOCOMPRESS
# $3 - BackupID, ie. 56
# $4 - TIME in yyyymmdd_HHMM format, ie. 19990702_1638
If the
post_olb_script fails, the error message could provide you with a hint of the problem. For instance, the following is a possible error message:
./post_olb_script: line 61: D:/SS-DB-BACKUP/ddm_backup.log: Permission denied
This indicates a permissions issue with the
D:/SS-DB-BACKUP/ddm_backup.log file, as the cause of the failure.