Wednesday, May 28, 2014

Replace RMAN Script

(1) Edit or replace the script stored in the recovery catalog using replace script command
RMAN> print script l_bkp_archivelog_like;

printing stored script: l_bkp_archivelog_like
{
backup
archivelog like '+DATA/cvrman/archivelog/2014_05_28/thread_1_seq_%'
tag 'bkp_archivelog_like';
}

RMAN> replace script l_bkp_archivelog_like
2> {
3> backup
4> archivelog like '+DATA/cvrman/archivelog/2014_05_28/thread_1_seq_%'
5> tag 'bkp_archivelog_like'
6> delete all input;
7> }


No comments: