oracle rman

zhengbao_jun發表於2011-12-28
run {
allocate channel ch1 device type disk maxpiecesize=10g;
sql 'alter system archive log current';
change archivelog all crosscheck;
change backup crosscheck;
backup full database tag=DB
format '/backup/rman/%d_db_%t_%s_%p' plus archivelog format '/bakcup/rman/%d_arch_%t_%s_%p' delete all input;
backup current controlfile
format '/backup/rman/%d_ctlfile_%t_%s_%p';
release channel ch1;
}

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/235507/viewspace-714057/,如需轉載,請註明出處,否則將追究法律責任。

相關文章