-
% 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
先看一下语法图:
再来个大的
常用的
阅读(9736) | 评论(0) | 转发(0) |