cancel
Showing results for 
Search instead for 
Did you mean: 

BRESTORE or BRRECOVER

Former Member
0 Kudos

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


Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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?

Former Member
0 Kudos

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

JPReyes
Active Contributor
0 Kudos

Hi Andy,

Lars explained this in detail on,

Regards, JP