Logical Backup Task in win7 and logical Backup Task in win7
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/41480137
Lab name: Create a logical backup task under WIN7
Lab Environment
Operating System |
WIN7 64bit flagship Edition |
Database |
Oracle 11.2.0.1.0 64bit |
Backup user |
Scott |
1. Develop backup solutions
Perform full backup of user data at every Monday, Wednesday, or Friday. The backup was deleted one week ago.
2. write scripts
Add a txt text file and change the suffix to bat, for example:
Edit the script as follows:
Monday script:
# Deleting a backup from the last Monday
Del D: \ files \ backtest \ Monday. dmp
Del D: \ files \ backtest \ Monday. log
# Back up data on Monday
Exp scott/tiger @ xckymy file = D: \ files \ backtest \ Monday. dmp log = D: \ files \ backtest \ Monday. log
Similarly, scripts for Wednesday, Friday, and Sunday are completed.
3. Develop planned tasks
WIN-accessories-System Tools-Task Scheduler
Click "create basic task", for example:
Add the "Task Scheduler" for Wednesday, Friday, and Sunday in the same way ".
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/41480137