Ocm Configure Recovery Manager Jp

設定

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
# %F meas dbid + time + seq
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/oracle/oracle/bkup/prod/rman/%F.ctl';
 
RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
# %d means dbname, %T means time
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/oracle/oracle/bkup/prod/rman/%d_%U_%T.bkf';
 
RMAN> show all;
RMAN configuration parameters are:
#CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
#CONFIGURE BACKUP OPTIMIZATION OFF; # default
#CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/oracle/oracle/bkup/prod/rman/%F';
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
#CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
#CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/oracle/oracle/bkup/prod/rman/%U';
#CONFIGURE MAXSETSIZE TO UNLIMITED; # default
#CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
#CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
#CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
#CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/oracle/product/10.2.0/db_1/dbs/snapcf_prod.f'; # default