-- Database Back Scripts
-- dbbak.sql
run{
configure retention policy to redundancy 1;
backup as compressed backupset full database;
delete noprompt obsolete;
}
-- batch file
-- rmandb.bat
rman target sys/exigen nocatalog cmdfile=D:\app\Administrator\autobak\dbbak.sql log=D:\app\Administrator\autobak\dbbak.log append checksyntax