Oracle automatic backup

Source: Internet
Author: User

The procedure is as follows:

1. 1. Create a C:/backup folder on the server (Folder path selected by the customer). 2. 2. Open dbbkup. bat --> modify the red part --> Save exp system/manager @ test file = D:/orabackup/% Date :~ 0, 4% % Date :~ 5, 2% % Date :~ 8, 2% % time :~ 0, 2% % time :~ 3,2% % time :~ 6, 2%. dmp owner = datauser (% date % can be used in batch processing to call the current date, but % Date :~ At 0th, the current time (after conversion to a string) can be generated to take 4 characters from the first byte. the first digit is counted from 0. The numbers at the positions 0 and 4 can also be negative values, which should represent the characters from the end of the string and forward. B. You can use % time % to call the current time in batch processing.) 3. 3. Set dbbkup. bat is placed under the C:/backup folder. 4. 4. Control Panel --> task plan --> Add task plan --> select a program to schedule --> browse --> select dbbkup. bat --> execute every day --> select time --> enter the user name and password --> finish 5. 5. After the execution time is over, yyyymmddhhmiss (year, month, day, hour, minute, second) will appear in the C:/backup folder ). dump File named by dmp

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.