Thursday 2 October 2014

RMAN Automatic Script : Backup Tablespace

rman <<EOF
connect target rman/rman_oracledba@test2
connect catalog rman/rman_oracledba@test1
run { allocate channel d1 type disk;
backup tablespace "DATA" filesperset 2 
include current controlfile 
format '/data/oracle/BACKUP/rman_TBS_%d.%t.%p.%c.bus';
}
EOF

No comments:

Post a Comment