DELETE INPUT or DELETE ALL INPUT clauses for the BACKUP ARCHIVELOG
command to delete archived logs after they are backed up, eliminating the separate
step of manually deleting the archived redo logs. With DELETE INPUT, RMAN only
deletes the specific copy of the archived redo log chosen for the backup set. With
DELETE ALL INPUT, RMAN will delete each backed-up archived redo log file from all
log archiving destinations.
你可以指定delete input or delete all input的语句对于备份归档日志命令去删除归档日志在备份
完成之后。使用DELETE INPUT命令RMAN仅删除指定归档重做日志的COPY在备份集里指定。
使用DELETE ALL INPUT,RMAN将删除每个备份归档重做日志从所有的日志归档目标地址里。
dest3, and you run the following command:
BACKUP DEVICE TYPE sbt
ARCHIVELOG ALL
DELETE ALL INPUT;
比如,假定你的归档地址to /arc_dest1, /arc_dest2, and /arc_
dest3,并且你运行下列命令:
BACKUP DEVICE TYPE sbt
ARCHIVELOG ALL
DELETE ALL INPUT;
In this case RMAN backs up only one copy of each log sequence number in these
directories, and then deletes all copies of any log that it backed up from the archiving
destinations. If you had specified DELETE INPUT rather than DELETE ALL INPUT,
then RMAN would only delete the specific archived redo log files that it backed up
(for example, it would delete the archived redo log files in /arc_dest1 if those were
the files used as the source of the backup, but it would leave the contents of the /arc_
dest2 and /arc_dest3 intact) .
在这种情况下,RMAN备份仅每个日志序列名字的复制在这些目录里,然后删除所有的任何日志
的备份从归档目标目录。如果你已经指定DELETE INPUT而不是DELETE ALL INPUT,
那么RMAN将仅删除指定的归档重做日志文件那些已经备份的文件(比如,你删除了归档重做
日志文件在目录/arc_dest1如果这些文件是作为备份的源文件,但它将保留目录/arc_
dest2 and /arc_dest3目录文件无损坏的。
there are no archived redo log files to back up, then RMAN does not signal an error.
如果你输入BACKUP ARCHIVELOG ALL or BACKUP ARCHIVELOG LIKE '...',并且
没有归档重做日志文件可以备份,那么RMAN将不会发出一个错误。