on 08-16-2012 11:59 AM
Hi All,
I want to do system refresh of development server from Production Server.As there is Scheduled Backup Pattern as Daily Online Database + Redo Logs.
Is it possible to do system refresh from this Backup?One more question-this online backup is in external HDD.can i perform system refresh from
this backup.As i got oracle 9.2 as my DB and windows 2003 Server is my OS.
Kindly suggest me the steps to perform this action.I'm new into Oracle.It's really urgent guys.
Thanks
Ajitabh
Hi Ajitabh,
Yes, it is possible to system refresh;
1) Create control.sql by executing the command at the productive system, below;
alter database backup controlfile to trace resetlogs;
2) Goto "/oracle/<SID>/saptrace/usertrace" and open newly created trace file,
3) Copy lines between "STARTUP NOMOUNT" and "-- Commands to re-create incarnation table" strings. Please note that these strings will not be included, just between of them
4) Create a control.sql file by ora<sid> user and paste the SQL statement, at the 3rd step
5) Now, you can change all the paths, regarding your needs in the file
6) Now that you have a control.sql file, then you can create the control files,
7) Delete all control files on the database. They have been determined in the SPFILE or init<SID>.ora file.
😎 On ora<sid> user
a) sqlplus / as sysdba
b) startup nomount
c) @<path>/control.sql
d) shutdown
9) Now apply the online redolog files;
a) startup mount
b) recover database using backup controlfile until cancel;
c) alter database open resetlogs;
d) shutdown
e) startup
f) exit
After you apply the steps respectively, the database should be started successfully.
Or another way is following the system copy procedure, provided by SAP;
https://service.sap.com/~sapidb/011000358700000171822011E
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>> If I attached the External HDD to the dev server.Which path should be edited and where?
Copy sapdata(n) files into "/oracle/<DBSID>" folder. Then, apply the procedure. Please note that if you don't want to lose the previous database, move existing files to another media or path.
Best regards,
Orkun Gedik
hi Ajitabh,
Please also have look on below document and you do your activity with help of this doc.
Regards,
hi,
Orkun has provided you with the right solution. here is the detailed one if you still dont understand. Read it throroughly you will understand:
Hi Abdul,
Thanks for your reply.I know that I have to change the path of backup_root_dir and stage_root_dir.
As I want to know how to take the Tape Drive backup in USB Drive?As Tape Drive is connected to
Production Server.My purpose is to take the backup in USB Drive from Tape Drive and restore it into
the Dev Server.Can you please help me out?
Thanks
Ajitabh
Dear,
If Tape drive is successfully connected with your server then tape drive should be appear during restore window and you can select required backup for restore.
please have a look on below link for restore backup.
If problem still persist then please contact with your Hardware Vendor.
Regards,
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.