Thursday, 2 October 2014

RMAN Automatic Script : Backup Control File

rman <<EOF
connect target rman/rman_oracledba@test2
connect catalog rman/rman_oracledba@test1
run { allocate channel d1 type disk
format '/data/oracle/BACKUP/rman_CTL_%s_%p_%t.bus';
backup current controlfile;
}
EOF

No comments:

Post a Comment