Search This Blog

Saturday, July 25, 2015

Making multiple copies of backup pieces

RMAN> configure channel device type disk format '/u01/bkp/rman-%-d%-s%-c.bkp';
RMAN> configure channel device type disk format '/u01/bkp/rman-%U';

once we set this issue the below command to create 3 copies of the backup pieces.

RMAN> backup device type disk copies 3 database plus archivelog;

if we dont want to use copies word and make it default for only datafile more copies

RMAN> configure datafile backup copies for device type disk to 3;

for archivelog files only

RMAN> configure archivelog backup copies for device type disk to 2;

we can keep any number of copies for archivelogs or datafiles

RMAN> backup database plus archivelog;

it will create 3 copies for datafile and 2 copies for archive log

list backup summary;

No comments:

Post a Comment