首页 > 数据库 > Oracle > RAC backup
run {
allocate channel d1 type disk;
backup incremental level 0 as compressed backupset format '/u04/backup/ausabo2/%d_LEVEL0_%T_%U' database;
backup as compressed backupset format '/u04/backup/ausabo2/%d_ARCH_%T_S%s_P%p_C%c' archivelog all not backed up;
release channel d1;
}
run {
allocate channel d1 type disk connect 'sys/zebra@node1';
allocate channel d2 type disk connect 'sys/zebra@node2';
delete noprompt archivelog until time 'sysdate - 1' backed up 1 times to device type disk;
delete noprompt obsolete;
release channel d1;
release channel d2;
}
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9907339/viewspace-1037993/ ,如需转载,请注明出处,否则将追究法律责任。