db2的定时备份

定时任务:

db2.bat

db2cmd -i -w db2_backup.bat 
exit

  db2_backup.bat 

db2 connect to TEST
db2 force applications all
db2stop force
db2start  
db2 backup database sxtjjnw to D:\backup

exit

  

posted @ 2015-12-11 14:22  雨中飞鹭  阅读(397)  评论(0编辑  收藏  举报