Oracle Cold backup and Hot backup Practices (original)

Source: Internet
Author: User

Refer to the Backup blog post and uploaded files, conducted a hot and cold backup practice and documented for later review, the practice of the environment is WIN10, installed oracle11g

One, cold backup

1, Cmd->sqlplus/nolog

2, Conn sys/123456 as Sysdba

Possible issues:Ora-12560:tns: Resolution of protocol Adapter errors

The reason is the re-instantiation of the database and the default ORCL inconsistencies. Workaround: Attribute--advanced--environment variable ---system variable--new , variable name =oracle_sid, variable value =xxxx, XXXX is your database SID, set the name of the environment variable

3, Shutdown immediate

4. Backup of data files and control files.

Pay special attention to controlling the backup of file 2, otherwise startup and shutdown will appear???? XXX error.

5. Startup

Delete several database records

6, Shutdown immediate

7. Restore the backed up data files and control files

8, startup and verify the correctness of the data.

Oracle Cold backup and Hot backup Practices (original)

Related Article

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.