Skip to Content
author's profile photo Former Member
Former Member

BRESTORE or BRRECOVER

Hi there,

I am trying to do a full system copy from PROD into QA on a different host.

I will be using the latest offline backup.

I have read on this site that if you are using an online backup then use the BRRECOVER

and if you are using an offline backup which I am then to use the BRRESTORE.

I am a little confused. I am struggling with the control file creation after the restore has taken place.

Can I use the BRRECOVER even though I will be using an offline backup? Will this re-create

the control file automatically??

Hope this makes sense!

Thanks

Andy


Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Mar 14, 2014 at 09:59 AM

    Hi Andy,

    brrestore is used to restore the files from the backup media.

    brrecover is used to recover the database post restoration.

    Whether you have offline backup or online backup you need to use brrestore for restoration.

    So you can go ahead with brrrestore -m full -b <backup filename> to start the restore

    Once the restore is completed you can open the database using

    SQL> alter database open resetlogs;

    Hope this helps.

    Regards,

    Deepak Kori

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2014 at 10:04 AM

    Hi Andy,

    Lars explained this in detail on,

    Regards, JP

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2014 at 10:07 AM

    OK,

    So Can I presume if I use BRRECOVER it does everything i.e. creates control file

    but if I use BRRESTORE I will then need to create the control file manually?

    Add a comment
    10|10000 characters needed characters exceeded

    • for your case, you have to use brrestore

      1) brrestore - restore the datafiles from specific backup

      2)manual creation of controlfile (changing sid from PRD TO QAS)

      3) recovery

      brrecover can be used for

      · Complete database recovery

      · Database point-in-time (PIT) recovery

      · Tablespace point-in-time (PIT) recovery

      · Whole database reset

      · Restore of individual backup files

      · Restore and application of offline redo log files

      · Disaster recovery

      Thanks ,Siva

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.