Hi, new to Oracle but have been given task of setting up DR for Oracle db. Only have one database(instance I believe is the term).
Can someone verify this simple script will work for backing up the database online with RMAN?
{
allocate channel c1 device type disk maxpiecesize 10G;
backup database format ‘/backup/ouprd/rm_bk/%d_%t_%s_%p’
include current controlfile;
sql ‘alter system archive log current;
backup archivelog all format ‘/backup/ouprd/rm_bk/%d_%t_%s_%p’
delete noprompt obsolete;
release channel c1;
}
Thanks for any suggestions
Can someone verify this simple script will work for backing up the database online with RMAN?
{
allocate channel c1 device type disk maxpiecesize 10G;
backup database format ‘/backup/ouprd/rm_bk/%d_%t_%s_%p’
include current controlfile;
sql ‘alter system archive log current;
backup archivelog all format ‘/backup/ouprd/rm_bk/%d_%t_%s_%p’
delete noprompt obsolete;
release channel c1;
}
Thanks for any suggestions