rman--备份集的复制duplexed backup sets

RMAN支持同时备份4份,同样一个备份集合可以一次备份4份,放到不同地方,以防一个丢失了,其它地方还有。如

RMAN> configure device type disk parallelism 1 backup type to backupset;

old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3

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 OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
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/dbs/snapcf_TESTENV01.f'; # default

RMAN> backup copies 2 datafile 8 format '/backup/rmanbackup/d5bak1','/backup/rmanbackup/d5bak2';

Starting backup at 21-APR-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=135 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00008 name=/u01/oradata/dbtest/wenchuan2.dbf
channel ORA_DISK_1: starting piece 1 at 21-APR-12
channel ORA_DISK_1: finished piece 1 at 21-APR-12 with 2 copies and tag TAG20120421T174357
piece handle=/backup/rmanbackup/d5bak1 comment=NONE
piece handle=/backup/rmanbackup/d5bak2 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 21-APR-12

RMAN> 

[oracle@oraclelinux rmanbackup]$ ll
total 208
-rw-r-----  1 oracle oinstall 98304 Apr 21 17:43 d5bak1
-rw-r-----  1 oracle oinstall 98304 Apr 21 17:43 d5bak2
[oracle@oraclelinux rmanbackup]$ 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15720542/viewspace-721894/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15720542/viewspace-721894/

你可能感兴趣的:(rman--备份集的复制duplexed backup sets)