利用RMAN备份压缩技术对数据库做全备并备份控制文件和归档日志后删除已备份的归档日志:
backup as compressed backupset full database
format '/home/oracle/backup/full_bk1_%u%p%s.dfb 'include current controlfile
plus archivelog format '/home/oracle/backup/arch_bk1_%u%p%s.dfb'
delete all input ;