rman target /
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
590 B F A DISK 15-JAN-21 1 1 YES TAG20210115T030004
591 B F A DISK 15-JAN-21 1 1 YES TAG20210115T030004
592 B F A DISK 15-JAN-21 1 1 YES TAG20210115T030004
595 B A A DISK 15-JAN-21 1 1 YES TAG20210115T041934
596 B A A DISK 15-JAN-21 1 1 YES TAG20210115T041934
RMAN> delete backupset tag 'TAG20210115T030004';
using channel ORA_DISK_1
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
590 590 1 1 AVAILABLE DISK /oracle/backup/rman/database-20210115-j0vklj9l_1_1
591 591 1 1 AVAILABLE DISK /oracle/backup/rman/database-20210115-ivvklj9l_1_1
592 592 1 1 AVAILABLE DISK /oracle/backup/rman/database-20210115-iuvklj9l_1_1
Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=/oracle/backup/rman/database-20210115-j0vklj9l_1_1 RECID=590 STAMP=1061866805 deleted backup piece
backup piece handle=/oracle/backup/rman/database-20210115-ivvklj9l_1_1 RECID=591 STAMP=1061866805 deleted backup piece
backup piece handle=/oracle/backup/rman/database-20210115-iuvklj9l_1_1 RECID=592 STAMP=1061866805 Deleted 3 objects
相关文章
- 02-12elasticsearch手动创建和删除索引
- 02-12手动删除rman备份文件
- 02-12git中手动删除的文件如何在git中删除
- 02-12用于svn添加当前目录下所有未追踪的文件,和删除所有手动删除的文件的脚本
- 02-1212.2备库rman使用delete删除归档日志报错RMAN-08137: WARNING: archived log not deleted, needed for standby or upstr
- 02-12Debian下自动备份文件并上传到远程FTP服务器且删除指定日期前的备份Shell脚本
- 02-12rman中如何制定删除某段时间的归档日志
- 02-12手动删除eureka上已经注册的服务
- 02-12appium执行脚本时,clear()方法无效,可以模拟键盘操作手动删除文本框内容
- 02-12如何删除过期的数据库备份文件呢? .