Summary of problems encountered during rman recovery

Source: Internet
Author: User

Rman is a problem for beginners, but it is also true for me. So here I will summarize the problems I encountered during the use of rman and provide a solution. I hope to give some valuable experience to those dishes that are the same as me.
 
 
1. The first problem is about the storage location of the Backup set after backup.
 
Error Background: for full backup, if the backup is performed on machine B after the backup is performed on machine. I am troubled by the problem that the backup set is stored in the directory of machine B. Now I am sure to tell you which directory you can store the data in. You only need to restore the permission that the Oracle user can read. Of course, if the directory is not the same as that of the original backup machine and the backup set is not registered during restoration, the same error will occur for a long time.
 
Solution: register the backup set (you can let rman know where the backup set is when it is restored ), the specific method is as follows (/dsms2012 indicates the location where I uploaded the backup set to the database machine to be restored ):
 
RMAN> catalog start with '/dsms2012 /';
 
Released channel: ORA_DISK_1
Searching for all files that match the pattern/dsms2012/
 
List of Files Unknown to the Database
============================================
File Name:/dsms2012/arch_ECDSDB_30530_1.bk
File Name:/dsms2012/arch_ECDSDB_30531_1.bk
File Name:/dsms2012/ctl. bk
File Name:/dsms2012/pri_ECDSDB_30526_1.bk
File Name:/dsms2012/pri_ECDSDB_30527_1.bk
File Name:/dsms2012/pri_ECDSDB_30528_1.bk
File Name:/dsms2012/pri_ECDSDB_30529_1.bk
File Name:/dsms2012/spfile. bk
 
Do you really want to catalog the above files (enter YES or NO )? YES
Cataloging files...
Cataloging done
 
List of Cataloged Files
======================================
File Name:/dsms2012/arch_ECDSDB_30530_1.bk
File Name:/dsms2012/arch_ECDSDB_30531_1.bk
File Name:/dsms2012/ctl. bk
File Name:/dsms2012/pri_ECDSDB_30526_1.bk
File Name:/dsms2012/pri_ECDSDB_30527_1.bk
File Name:/dsms2012/pri_ECDSDB_30528_1.bk
File Name:/dsms2012/pri_ECDSDB_30529_1.bk
File Name:/dsms2012/spfile. bk

  • 1
  • 2
  • 3
  • Next Page

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.