一、单独备份1、经典整库备份:backup as compressed backupset database include current controlfile plus archivelog delete all input;2、tablespace:backup tablespace 名字;3、数据文件:backup datafile n; (n:具体的数据文件编号select file_name,file_id,tablespace_name from dba_data_files;)
一、增量备份脚本0级备份脚本:红色部分为自定义的备份文件放置的目录 代码如下:#scr ipt.:BackupFull.sh#creater:xyh#date:2014-03-08#desc:backup full database datafile in archive with rman#connect databaseexport ORACLE_BASE=/u01/app/oracleexport ORACLE_SID=orclexport ORACLE_HOME=/u01/app/ora