hidden:Database Online Backup: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
'''Online DB2 backup on productive core''' |
'''Online DB2 backup on productive core''' |
||
/hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup1 -t online -b none >>/db2_backup1/db2_fullbackup.out 2>&1 |
/hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup1 -t online -b none >>/db2_backup1/db2_fullbackup.out 2>&1 |
||
On the active core server runs every hour a cron job which takes an online DB2 backup: |
|||
0 */1 * * * if [ `hostname` == "hpsscr" ] ; then /hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup1 -s /db2_backup2 -t online -b none >> /db2_backup1/db2_fullbackup.out 2>&1 ; fi |
Revision as of 12:41, 13 July 2016
A database online backup can be made during normal HPSS operation Online backup on test core /hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup -t online -b none >>/db2_backup/db2_backup_fullbackup.out Online DB2 backup on productive core /hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup1 -t online -b none >>/db2_backup1/db2_fullbackup.out 2>&1 On the active core server runs every hour a cron job which takes an online DB2 backup: 0 */1 * * * if [ `hostname` == "hpsscr" ] ; then /hpss_src/scripts/db2_fullbackup.ksh -p /db2_backup1 -s /db2_backup2 -t online -b none >> /db2_backup1/db2_fullbackup.out 2>&1 ; fi