Cold backup data recovery

Source: Internet
Author: User

Backup

Directly copy the admin, oradata (datafile, controlfile, redo), and flash_recovery_area folders under the Oracle directory, database (pwdfile, pfile) and DBS (spfile) under the db_1 directory), network/admin (listener. ora, tnsnames. to other storage for backup.

Restore

Method 1: the simplest method (database creation required)

1. Create a database that is the same as the original one. (The installation path and database name must be consistent with the original one)
2. Stop the database shutdown immediate;
3. Copy and overwrite admin, oradata, and flash_recovery_area under the installation directory, and copy the database (pwdfile, pfile) to overwrite
4. Start the database startup;

Method 2: (database creation is not required, which is a little effort)

(1): reinstalls the operating system. If cold Backup recovery is performed, ensure that the same operating system and database version are the same.
(2): Oracle software is installed normally. You only need to install the software without creating an instance.
(3) data coverage, including data files, parameter files, control files, log files, and PWD files, which are placed in the same directory as the original system. If the directory changes, you need to create another control file to modify pfile.
(4) create a service: Run oradim-New-Sid gbicc in cmd to create a service. The SID is gbicc. This step is not required in Linux.
(5): Set up a listener: Net configuration assintant. (We recommend that you copy the files in the network of the source system and modify them according to the actual situation ).
(6): Open the database: cmd
Set oracle_sid = gbicc;
Sqlplus/nolog;
Conn/As sysdba;
Startup;

Now, the cold backup is successfully restored.

This article is from the "kingdba" blog, please be sure to keep this source http://kingdba.blog.51cto.com/801693/1440956

Cold backup data recovery

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.