1rman target /
2RMAN> RECOVER STANDBY DATABASE FROM SERVICE orcl;
3
4Starting recover at 19-APR-21
5using target database control file instead of recovery catalog
6Oracle instance started
7
8Total System Global Area3355441944 bytes
9
10Fixed Size 9141016 bytes
11Variable Size671088640 bytes
12Database Buffers2667577344 bytes
13Redo Buffers 7634944 bytes
14
15contents of Memory Script:
16{
17 restore standby controlfile from service 'orcl';
18 alter database mount standby database;
19}
20executing Memory Script
21
22Starting restore at 19-APR-21
23allocated channel: ORA_DISK_1
24channel ORA_DISK_1: SID=502 device type=DISK
25
26channel ORA_DISK_1: starting datafile backup set restore
27channel ORA_DISK_1: using network backup set from service orcl
28channel ORA_DISK_1: restoring control file
29channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
30output file name=/oradata/ORCL_STBY/control01.ctl
31output file name=/oradata/ORCL_STBY/control02.ctl
32Finished restore at 19-APR-21
33
34released channel: ORA_DISK_1
35Statement processed
36Executing: alter system set standby_file_management=manual
37
38contents of Memory Script:
39{
40set newname for tempfile 1 to
41 "/oradata/ORCL_STBY/temp01.dbf";
42set newname for tempfile 2 to
43 "/oradata/ORCL_STBY/pdbseed/temp012021-04-11_06-13-50-844-AM.dbf";
44set newname for tempfile 3 to
45 "/oradata/ORCL_STBY/BFA6BEE45A1E3605E053AC01A8C0DD20/datafile/o1_mf_temp_j749f5fy_.dbf";
46 switch tempfile all;
47set newname for datafile 1 to
48 "/oradata/ORCL_STBY/system01.dbf";
49set newname for datafile 3 to
50 "/oradata/ORCL_STBY/sysaux01.dbf";
51set newname for datafile 4 to
52 "/oradata/ORCL_STBY/undotbs01.dbf";
53set newname for datafile 5 to
54 "/oradata/ORCL_STBY/pdbseed/system01.dbf";
55set newname for datafile 6 to
56 "/oradata/ORCL_STBY/pdbseed/sysaux01.dbf";
57set newname for datafile 7 to
58 "/oradata/ORCL_STBY/users01.dbf";
59set newname for datafile 8 to
60 "/oradata/ORCL_STBY/pdbseed/undotbs01.dbf";
61set newname for datafile 9 to
62 "/oradata/ORCL_STBY/PDB01/o1_mf_system_j749f5d5_.dbf";
63set newname for datafile 10 to
64 "/oradata/ORCL_STBY/PDB01/o1_mf_sysaux_j749f5fw_.dbf";
65set newname for datafile 11 to
66 "/oradata/ORCL_STBY/PDB01/o1_mf_undotbs1_j749f5fx_.dbf";
67set newname for datafile 12 to
68 "/oradata/ORCL_STBY/test01.dbf";
69set newname for datafile 14 to
70 "/oradata/ORCL/test02.dbf";
71 restore from service 'orcl' datafile
7214;
73 catalog datafilecopy "/oradata/ORCL_STBY/system01.dbf",
74 "/oradata/ORCL_STBY/sysaux01.dbf",
75 "/oradata/ORCL_STBY/undotbs01.dbf",
76 "/oradata/ORCL_STBY/pdbseed/system01.dbf",
77 "/oradata/ORCL_STBY/pdbseed/sysaux01.dbf",
78 "/oradata/ORCL_STBY/users01.dbf",
79 "/oradata/ORCL_STBY/pdbseed/undotbs01.dbf",
80 "/oradata/ORCL_STBY/PDB01/o1_mf_system_j749f5d5_.dbf",
81 "/oradata/ORCL_STBY/PDB01/o1_mf_sysaux_j749f5fw_.dbf",
82 "/oradata/ORCL_STBY/PDB01/o1_mf_undotbs1_j749f5fx_.dbf",
83 "/oradata/ORCL_STBY/test01.dbf",
84 "/oradata/ORCL/test02.dbf";
85 switch datafile all;
86}
87executing Memory Script
88
89executing command: SET NEWNAME
90
91executing command: SET NEWNAME
92
93executing command: SET NEWNAME
94
95renamed tempfile 1 to /oradata/ORCL_STBY/temp01.dbf in control file
96renamed tempfile 2 to /oradata/ORCL_STBY/pdbseed/temp012021-04-11_06-13-50-844-AM.dbf in control file
97renamed tempfile 3 to /oradata/ORCL_STBY/BFA6BEE45A1E3605E053AC01A8C0DD20/datafile/o1_mf_temp_j749f5fy_.dbf in control file
98
99executing command: SET NEWNAME
100
101executing command: SET NEWNAME
102
103executing command: SET NEWNAME
104
105executing command: SET NEWNAME
106
107executing command: SET NEWNAME
108
109executing command: SET NEWNAME
110
111executing command: SET NEWNAME
112
113executing command: SET NEWNAME
114
115executing command: SET NEWNAME
116
117executing command: SET NEWNAME
118
119executing command: SET NEWNAME
120
121executing command: SET NEWNAME
122
123Starting restore at 19-APR-21
124allocated channel: ORA_DISK_1
125channel ORA_DISK_1: SID=504 device type=DISK
126
127channel ORA_DISK_1: starting datafile backup set restore
128channel ORA_DISK_1: using network backup set from service orcl
129channel ORA_DISK_1: specifying datafile(s) to restore from backup set
130channel ORA_DISK_1: restoring datafile 00014 to /oradata/ORCL/test02.dbf
131channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
132Finished restore at 19-APR-21
133
134cataloged datafile copy
135datafile copy file name=/oradata/ORCL_STBY/system01.dbf RECID=4 STAMP=1070263316
136cataloged datafile copy
137datafile copy file name=/oradata/ORCL_STBY/sysaux01.dbf RECID=5 STAMP=1070263317
138cataloged datafile copy
139datafile copy file name=/oradata/ORCL_STBY/undotbs01.dbf RECID=6 STAMP=1070263317
140cataloged datafile copy
141datafile copy file name=/oradata/ORCL_STBY/pdbseed/system01.dbf RECID=7 STAMP=1070263317
142cataloged datafile copy
143datafile copy file name=/oradata/ORCL_STBY/pdbseed/sysaux01.dbf RECID=8 STAMP=1070263318
144cataloged datafile copy
145datafile copy file name=/oradata/ORCL_STBY/users01.dbf RECID=9 STAMP=1070263318
146cataloged datafile copy
147datafile copy file name=/oradata/ORCL_STBY/pdbseed/undotbs01.dbf RECID=10 STAMP=1070263318
148cataloged datafile copy
149datafile copy file name=/oradata/ORCL_STBY/PDB01/o1_mf_system_j749f5d5_.dbf RECID=11 STAMP=1070263318
150cataloged datafile copy
151datafile copy file name=/oradata/ORCL_STBY/PDB01/o1_mf_sysaux_j749f5fw_.dbf RECID=12 STAMP=1070263318
152cataloged datafile copy
153datafile copy file name=/oradata/ORCL_STBY/PDB01/o1_mf_undotbs1_j749f5fx_.dbf RECID=13 STAMP=1070263318
154cataloged datafile copy
155datafile copy file name=/oradata/ORCL_STBY/test01.dbf RECID=14 STAMP=1070263318
156cataloged datafile copy
157datafile copy file name=/oradata/ORCL/test02.dbf RECID=15 STAMP=1070263318
158
159datafile 14 switched to datafile copy
160input datafile copy RECID=15 STAMP=1070263318 file name=/oradata/ORCL/test02.dbf
161datafile 1 switched to datafile copy
162input datafile copy RECID=4 STAMP=1070263316 file name=/oradata/ORCL_STBY/system01.dbf
163datafile 3 switched to datafile copy
164input datafile copy RECID=5 STAMP=1070263317 file name=/oradata/ORCL_STBY/sysaux01.dbf
165datafile 4 switched to datafile copy
166input datafile copy RECID=6 STAMP=1070263317 file name=/oradata/ORCL_STBY/undotbs01.dbf
167datafile 5 switched to datafile copy
168input datafile copy RECID=7 STAMP=1070263317 file name=/oradata/ORCL_STBY/pdbseed/system01.dbf
169datafile 6 switched to datafile copy
170input datafile copy RECID=8 STAMP=1070263318 file name=/oradata/ORCL_STBY/pdbseed/sysaux01.dbf
171datafile 7 switched to datafile copy
172input datafile copy RECID=9 STAMP=1070263318 file name=/oradata/ORCL_STBY/users01.dbf
173datafile 8 switched to datafile copy
174input datafile copy RECID=10 STAMP=1070263318 file name=/oradata/ORCL_STBY/pdbseed/undotbs01.dbf
175datafile 9 switched to datafile copy
176input datafile copy RECID=11 STAMP=1070263318 file name=/oradata/ORCL_STBY/PDB01/o1_mf_system_j749f5d5_.dbf
177datafile 10 switched to datafile copy
178input datafile copy RECID=12 STAMP=1070263318 file name=/oradata/ORCL_STBY/PDB01/o1_mf_sysaux_j749f5fw_.dbf
179datafile 11 switched to datafile copy
180input datafile copy RECID=13 STAMP=1070263318 file name=/oradata/ORCL_STBY/PDB01/o1_mf_undotbs1_j749f5fx_.dbf
181datafile 12 switched to datafile copy
182input datafile copy RECID=14 STAMP=1070263318 file name=/oradata/ORCL_STBY/test01.dbf
183Executing: alter database rename file '/oradata/ORCL/redo01.log' to '/oradata/ORCL_STBY/redo01.log'
184Executing: alter database rename file '/oradata/ORCL/redo02.log' to '/oradata/ORCL_STBY/redo02.log'
185Executing: alter database rename file '/oradata/ORCL/redo03.log' to '/oradata/ORCL_STBY/redo03.log'
186
187contents of Memory Script:
188{
189 recover database from service 'orcl';
190}
191executing Memory Script
192
193Starting recover at 19-APR-21
194using channel ORA_DISK_1
195skipping datafile 5; already restored to SCN 2155383
196skipping datafile 6; already restored to SCN 2155383
197skipping datafile 8; already restored to SCN 2155383
198skipping datafile 14; already restored to SCN 2658548
199channel ORA_DISK_1: starting incremental datafile backup set restore
200channel ORA_DISK_1: using network backup set from service orcl
201destination for restore of datafile 00001: /oradata/ORCL_STBY/system01.dbf
202channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
203channel ORA_DISK_1: starting incremental datafile backup set restore
204channel ORA_DISK_1: using network backup set from service orcl
205destination for restore of datafile 00003: /oradata/ORCL_STBY/sysaux01.dbf
206channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
207channel ORA_DISK_1: starting incremental datafile backup set restore
208channel ORA_DISK_1: using network backup set from service orcl
209destination for restore of datafile 00004: /oradata/ORCL_STBY/undotbs01.dbf
210channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
211channel ORA_DISK_1: starting incremental datafile backup set restore
212channel ORA_DISK_1: using network backup set from service orcl
213destination for restore of datafile 00007: /oradata/ORCL_STBY/users01.dbf
214channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
215channel ORA_DISK_1: starting incremental datafile backup set restore
216channel ORA_DISK_1: using network backup set from service orcl
217destination for restore of datafile 00009: /oradata/ORCL_STBY/PDB01/o1_mf_system_j749f5d5_.dbf
218channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
219channel ORA_DISK_1: starting incremental datafile backup set restore
220channel ORA_DISK_1: using network backup set from service orcl
221destination for restore of datafile 00010: /oradata/ORCL_STBY/PDB01/o1_mf_sysaux_j749f5fw_.dbf
222channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
223channel ORA_DISK_1: starting incremental datafile backup set restore
224channel ORA_DISK_1: using network backup set from service orcl
225destination for restore of datafile 00011: /oradata/ORCL_STBY/PDB01/o1_mf_undotbs1_j749f5fx_.dbf
226channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
227channel ORA_DISK_1: starting incremental datafile backup set restore
228channel ORA_DISK_1: using network backup set from service orcl
229destination for restore of datafile 00012: /oradata/ORCL_STBY/test01.dbf
230channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
231
232starting media recovery
233
234media recovery complete, elapsed time: 00:00:00
235Finished recover at 19-APR-21
236Executing: alter system set standby_file_management=auto
237Finished recover at 19-APR-21