Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Incremental Full Backup

ChristianMar 15 2011 — edited Mar 15 2011
Hey, I thought I created an incremental full backup with attached rman script.
But at the point of restoring the database it comes up, that I just have an incremental backup of the source database.

Whats wrong in my configuration ? I like to have a daily full backup of the database where just the changes to the full backup are backed up. But the backupfile should always be a full backup.

I am using 10gR2 Standard Edition

CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
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 '/backup/app/control_%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 '/backup/app/LEVEL0_%u_%T';
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 '/opt/oracle/product/10gR2/db_1/dbs/snapcf_db01.f'; # default

# Database RAC Logswitch
sql 'alter system archive log current';
# Fullbackup Database - Perform incremental level 0 backup
run {
BACKUP incremental level 0 format '/backup/app/%d_Level0_%T_%U' database PLUS ARCHIVELOG format '/backup/app/%d_A
rchivelog_%T_%U';
}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2011
Added on Mar 15 2011
3 comments
444 views