weekly incremental backup
run
{
backup as compressed backupset
incremental level=0 cumulative
device type disk
tag "weekly_cum_database"
format '+backup/weekly_cum_database_%d_t%t_c%c_s%s_p%p'
database;
backup as backupset
device type disk
tag "ARCHIVELOGS"
format '+backup/daily_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog all;
}
daily incremental backup
run
{
backup as compressed backupset
incremental level=1 cumulative
device type disk
tag "daily_cum_database"
format '+backup/daily_cum_database_%d_t%t_c%c_s%s_p%p'
database;
backup as backupset
device type disk
tag "ARCHIVELOGS"
format '+backup/daily_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog all;
}
run
{
backup as compressed backupset
incremental level=0 cumulative
device type disk
tag "weekly_cum_database"
format '+backup/weekly_cum_database_%d_t%t_c%c_s%s_p%p'
database;
backup as backupset
device type disk
tag "ARCHIVELOGS"
format '+backup/daily_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog all;
}
daily incremental backup
run
{
backup as compressed backupset
incremental level=1 cumulative
device type disk
tag "daily_cum_database"
format '+backup/daily_cum_database_%d_t%t_c%c_s%s_p%p'
database;
backup as backupset
device type disk
tag "ARCHIVELOGS"
format '+backup/daily_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog all;
}
No comments:
Post a Comment