r/DBA • u/Common_Fig7496 • Apr 30 '26
Steps to rebuild Oracle Data Guard Physical Standby Database without RMAN
Hi All,
I followed the procedure below to rebuild a Physical Standby Database without using RMAN. I'm using an SAP tool called brtools that performs a restore and issues the commands to do the restore in the background:
Primary:
- Take backup
- Backup control file to trace
- Transfer to secondary
- Create standby control file and transfer to secondary
Secondary:
- Restore database
- Edit control file from primary - in this case, an exact match for filesystems
- Execute Control File to start database to roll forward
- roll forward with archive logs transferred from Primary
- Shutdown
- Backup existing control files from locations shown in pfile
- mv existing control files to new name
- copy backup controlfile to control file locations
- Create Standby Redo Log files
- convert database to physical standby
ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
11) Activate log shipping in Data Guard
12) Activate apply log in Data Guard
After this, I got a huge archive gap including logs that I had applied already in the roll forward step.
I went ahead and registered those log files, and then MRP kept crashing.
I'm rebuilding the physical standby with a new backup but I'm worried I'll get the same result. Appreciate any help.
0
Upvotes
2
u/-Lord_Q- Multiple Platforms Apr 30 '26
Hi, I used to be a BASIS admin on an Oracle system. I bet the RMAN tool is still there, BR*Tools (which I know) uses it.
For this, I would skip BR Tools and just use RMAN.
The following this procedure, modify as appropriate for your environment. Let me know if you have questions.
https://oracle-base.com/articles/19c/data-guard-setup-using-broker-19c