cancel
Showing results for 
Search instead for 
Did you mean: 

restore from online_cons backup

ganimede_dignan
Contributor
0 Kudos

Hi forum,

I'm unhappy tonight. We have a serius crash of our storage system at 02.25 PM. Now hw vendor works to restore storage system but we must restore the database.

Our last backup is an online_cons backup from brbackup on disk (but we have also a save on tapes) of Yesterday starts at 11:00 PM and ands today at 05:00 more or less. On the same disk we have also all archive file saved with brtools.

This is my first restore from online_cons backup.

I've already check the disk with backup and should be ok.

brrestore -m full -b <log_file> -c

After ?

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_koehler
Active Contributor
0 Kudos

Hello,

1) Restore the oracle directory (binaries,etc..)

2) Restore your online backup

3) Restore your backup controlfile

4) Restore all the archive logs you have (since the last online backup)

And then execute the following commands in sqlplus

> SQL> recover database using backup controlfile until cancel;

Do the recovery until the last archivelog is applied

> SQL> alter database open resetlogs;

After that make a backup of the database again.

Regards

Stefan

ganimede_dignan
Contributor
0 Kudos

Hi,

>1) Restore the oracle directory (binaries,etc..)

>2) Restore your online backup

>3) Restore your backup controlfile

>4) Restore all the archive logs you have (since the last online backup)

>

>And then execute the following commands in sqlplus

>

>SQL> recover database using backup controlfile until cancel;

>

>Do the recovery until the last archivelog is applied

>

>SQL> alter database open resetlogs;

>

>After that make a backup of the database again.

Thank you, I use the same procedure this morning at 05:00 AM and system should works fine.

Regards.

ganimede_dignan
Contributor
0 Kudos

.

fidel_vales
Employee
Employee
0 Kudos

hi,

If you ask for restore, he command you issued does the restore.

BUT, I think you do not mean ask for that, what you mean is to ask for RECOVERY, isn't it?

in that case, apart of the fact that a DBA should

- be able to do this with close eyes

- have it properly documented

You should use BRRECOVER. Or better, use the menu driven BRTOOLS (should be able to do it without reading the documentation).

Just in case you want to do read the documentation, here you can find it:

[BRRECOVER|http://help.sap.com/saphelp_nw70/helpdata/en/cd/80e67d94460e4fb0b3e9ca89967e47/frameset.htm]

[BRTOOL|http://help.sap.com/saphelp_nw70/helpdata/en/46/ce0440a832e369e10000000a155106/frameset.htm]