cancel
Showing results for 
Search instead for 
Did you mean: 

brrestore to different location

Former Member
0 Kudos

hello community,

I have a SAP ERP running with AIX and Oracle 9. Normally I make backup using transaction db13, and when I need to restore I use brrestore tool like this: brrestore -b<archive.ant> -m full, so this command restore all database files to the original location

/oracle/PRD/......

Now I need to restore all files to another location, example: /oracle/PRD_1/....,

How can I do this? is there any variable in a file, where I can set the new restore directory??

Thanks friends !!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Javier,

From my experience, brrestore is quite intelligent to know the the filesystem to restore to.

brrestore –c –b <backup log file> -p init<SID>.sap -m full

Just make sure you have the enviroment variables set before running the restore

ORACLE_SID, SAPDATA_HOME etc.

brrestore will prompt you, if you have changed location of the filesystem (SID changed).

Hope this helps.

Cheers,

Nisch

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Javier

I always test my restores while the system is running. I choose a small tablespace and give brrestore an alternate location:

brrestore -u / -r /oracle/SID/102_64/dbs/initSID.utl -m TSPNAME=/var/adm/crash

You might give this a try (please do test before doing on the prod system):

brrestore -u / -r /oracle/SID/102_64/dbs/initSID.utl -m all=/oracle/PRD_1/sapdata1

Regards

Michael