Thursday 2 October 2014

RMAN Automatic Script : Backup Script - Full Backup

rman <<EOF
connect target rman/rman_oracledba@test2
connect catalog rman/rman_oracledba@test1
run { allocate channel d1 type disk;
backup full tag backup_1 filesperset 2
format '/data/oracle8/BACKUP/rman_BACKUP_%d_%t.%p.%s.%c.%n.%u.bus'
database;
}
EOF

No comments:

Post a Comment