-
% rman
-
rman> connect target "sbu@prod1 as sysbackup"
-
-
target database password: password
-
connected to target database: prod1 (dbid=39525561)
-
-
rman> connect auxiliary "sbu@dup1 as sysbackup"
-
-
auxiliary database password: password
-
connected to auxiliary database: dup1 (not mounted)
-
-
rman> duplicate target database to dup1
-
2> from active database
-
3> nofilenamecheck
-
4> password file
-
5> spfile;
就是一个rman命令,但是参数非常多,又容易忘记,那怎么办呢?
引自:
-
https://docs.oracle.com/en/database/oracle/oracle-database/19/rcmrf/duplicate.html#guid-e13d8a02-80f9-49a2-9c31-92dd3a795ce4__chdehigf
先看一下语法图:
再来个大的
常用的
阅读(9403) | 评论(0) | 转发(0) |