リカバリカタログユーザの作成
リカバリカタログ作成
ターゲットデータベースの登録
カタログ再同期
ターゲットデータベースの登録解除
リカバリカタログ削除
リカバリカタログデータベース: PROD1:PDB21
ターゲットデータベース: orcl
-- PROD1
sql
alter session set container=PDB21;
show con_name;
create user rcat identified by oracle
default tablespace users
quota unlimited on users;
grant recovery_catalog_owner to rcat;
@$ORACLE_HOME/rdbms/admin/dbmsrmansys.sql
exit
-- orcl
rman target / catalog rcat/oracle@localhost:1521/pdb21.example.com
create catalog;
register database;
list incarnation;
resync catalog;
# unregister database;
# drop catalog;
-- PROD1
@$ORACLE_HOME/rdbms/admin/dbmsrmanvpc.sql -vpd rcat;
rman catalog rcat/oracle@localhost:1521/pdb21.example.com
UPGRADE CATALOG
UPGRADE CATALOG