Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
'No such file or directory' when trying to refresh standby DB using RMAN incremental backup

Hello
I am trying to refresh the standby database using RMAN backup but when i try to copy the files from the directory where i have put them to the directory where the control files are located i got the error:
No such file or directory
Before that i checked the location of the control files in my stand by db:
SQL> show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string +DATA/soagwprs/controlfile/cur
rent.260.831586851, +FRA/soagw
prs/controlfile/current.260.83
1586853
When i try with this command :
cp std_control.ctl +DATA/soagwprs/controlfile/current.260.831586851
cp std_control.ctl +FRA/soagwprs/controlfile/current.260.831586853
I got the error: No such file or directory
How can i locate and enter in those +DATA and +FRA directories?
Thanks in advance!
Dario
Answers
-
Why are you trying to manually copy them with OS commands? Especially when the OS doesn't really understand ASM? Why not use the rman RESTORE CONTROLFILE . . .
-
Thanks for your answer EdStevens
In fact i am trying to recover my standby DB because archive logs are missing.
So i did an incremental backup in the Primary DB by taking the last SCN from the Standby DB.
I copy the backup files from Primary to Standby DB using "scp" command.
So now i want to put that backup file "std_control.ctl" to the directory where the Standby DB control files are:
+DATA/soagwprs/controlfile/current.260.831586851 , +FRA/soagwprs/controlfile/current.260.831586853.
Please can you tell me how can i do this operation by using RMAN?
Thanks in advance!