Rman Backups
Rman Backups
Rman Backups
{
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/disk1/cat/%U';
ALLOCATE CHANNEL disk2 DEVICE TYPE DISK FORMAT '/disk2/cat/%U';
ALLOCATE CHANNEL disk3 DEVICE TYPE DISK FORMAT '/disk3/cat/%U';
BACKUP AS COPY DATABASE;
}
RUN
{
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/disk1/cat/%U';
ALLOCATE CHANNEL disk2 DEVICE TYPE DISK FORMAT '/disk2/cat/%U';
ALLOCATE CHANNEL disk3 DEVICE TYPE DISK FORMAT '/disk3/cat/%U';
backup as compressed backupset format 'LV1_%u_%d_%s' tag '%TAG LV1 COMPRESS LOW'
incremental level 1 cumulative database;
backup format 'ARCH_%u_%d_%s' tag '%TAG ARCH NOCOMPRESS' archivelog all not
backed up 2 times;
delete FORCE noprompt archivelog all backed up 1 times to device type disk;
}
run
{
backup incremental level 1 cumulative database;
backup archivelog all delete all input;
}