backup

@ECHO OFF
IF EXIST D:\databack\WEEK1.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak1.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK2.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak2.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK3.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak3.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK4.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak4.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK5.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak5.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK6.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak6.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK7.DMP C:\oracle\product\10.2.0\db_1\BIN\Exp.exe USERID=system/kbyhdsb097890@KBCG buffer=4096 file=D:\databack\WeekBak7.dmp grants=y owner=(KBCG)
IF EXIST D:\databack\WEEK6.DMP REN D:\databack\WEEK6.DMP WEEK7.DMP
IF EXIST D:\databack\WEEK5.DMP REN D:\databack\WEEK5.DMP WEEK6.DMP
IF EXIST D:\databack\WEEK4.DMP REN D:\databack\WEEK4.DMP WEEK5.DMP
IF EXIST D:\databack\WEEK3.DMP REN D:\databack\WEEK3.DMP WEEK4.DMP
IF EXIST D:\databack\WEEK2.DMP REN D:\databack\WEEK2.DMP WEEK3.DMP
IF EXIST D:\databack\WEEK1.DMP REN D:\databack\WEEK1.DMP WEEK2.DMP
IF EXIST D:\databack\WEEK7.DMP REN D:\databack\WEEK7.DMP WEEK1.DMP
@ECHO ON

本文出自 “凌云的点滴” 博客,谢绝转载!

你可能感兴趣的:(职场,backup,休闲)