批處理檔備份oracle

hzh_hu發表於2006-01-04

1.set aa=%date:~0,4%

2.set bb=%date:~5,2%

3 set bb=%date:~8,2%

note: date variable have two parameter, one is statr bit,other is long

4.example:exp scott/tiger file=c:scott%aa%%bb%%cc%.dmp log=scott%aa%%bb%%cc%

5.create a schedule in task manager for backup.

6.fininish

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/95530/viewspace-812741/,如需轉載,請註明出處,否則將追究法律責任。

相關文章