11 April 2014

How to change RMAN Global script

Connect to Catalog database 

rman target / catalog rman/rman@RMAN

Print RMAN global script 

PRINT GLOBAL SCRIPT level0_backup_full;

Print RMAN global script to a text file


PRINT GLOBAL SCRIPT level0_backup_full TO FILE '/usr/tmp/level0_backup_full.txt';

Modify your text file. 

Update global script from modified file.


REPLACE GLOBAL SCRIPT level0_backup_full FROM FILE '/usr/tmp/level0_backup_full.txt';

Verify again new global script

rman target / catalog rman/rman@RMAN


PRINT GLOBAL SCRIPT level0_backup_full;

2 comments: