Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use RMAN’s BACKUP ARCHIVELOG command with DELETE INPUT to back up archived redo logs and remove the input files after a successful backup. Choose DELETE ALL INPUT instead only when you intend to remove every matching copy across archiving destinations. Both commands follow the configured archived log deletion policy, so review that policy and any Data Guard standby requirements before running either command.

Choose which archived log copies RMAN should delete

When more than one archiving destination contains a copy of a log, the deletion clause determines whether RMAN removes only the file used as backup input or all matching copies. Oracle states that BACKUP ARCHIVELOG backs up one copy of each distinct log sequence number; that behavior makes the choice important when duplicate copies exist.

Option What RMAN deletes after backup Use it when
DELETE INPUT The specific archived-log copy RMAN used as input. Other copies in other destinations may remain. You want to retain copies in other archiving destinations.
DELETE ALL INPUT All matching copies of the backed-up logs across archiving destinations. You intend to remove duplicate copies and the deletion policy permits it.

The ALL keyword here applies to archived redo log input copies. Do not assume it changes deletion behavior for unrelated backup types.

Run an illustrative RMAN backup-and-delete command

After reviewing your policy, destination configuration, recovery requirements, and database release, a basic command pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
BACKUP ARCHIVELOG ALL DELETE INPUT;

This backs up archived logs and asks RMAN to delete the particular input copies used for the backup, subject to the configured deletion policy.

To request deletion of every matching copy of the backed-up logs across archiving destinations, use:

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;

Oracle’s guide also shows the all-copy form with an SBT media-manager destination:

BACKUP DEVICE TYPE sbt
  ARCHIVELOG ALL
  DELETE ALL INPUT;

These are syntax patterns, not universal production prescriptions. Oracle Database 18’s illustrated procedure says to connect to the target database and ensure it is mounted or open before running the command. Check the current Backup and Recovery Reference for behavior applicable to your release, and confirm that the target state, backup channels, and destinations are correct for your installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Check the archived log deletion policy before cleanup

CONFIGURE ARCHIVELOG DELETION POLICY sets the persistent conditions under which archived redo logs are eligible for deletion. The policy applies to archiving destinations, including the fast recovery area (FRA). Backup-and-delete operations honor it: a log can remain in place after backup if its backup or standby conditions have not been met.

The default policy is NONE. Do not treat that default as a recommendation for every system; select a policy that reflects the required backup redundancy, recovery retention, and, where applicable, standby transfer or application state. In Data Guard, check the requirements for the actual topology rather than reusing a standalone-database setting. Oracle’s maintenance guidance points administrators to its Data Guard documentation for standby-specific archived-log management.

Rank #4
Sale
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Deletion commands run without FORCE obey the configured policy. FORCE ignores it, so it is not a routine cleanup option.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Understand automatic cleanup in the fast recovery area

The database can automatically remove eligible archived logs from the FRA when more recovery-area space is needed, retaining them there as long as possible under recovery-area and retention rules. This space-management behavior is specific to files in the FRA; it does not mean Oracle automatically cleans arbitrary archive destinations.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.

If your goal is simply to let the FRA reclaim space as required, that automatic behavior differs from running a backup command with an immediate deletion clause. For other destinations, plan explicit RMAN cleanup consistent with the configured policy.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
SaleBestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$157.73

Verify the environment before using a production command

  • Confirm the Oracle Database release and consult its current Backup and Recovery Reference for command syntax and behavior.
  • Identify every archived-log destination and whether it holds duplicate copies you need to preserve.
  • Review the configured archived log deletion policy and verify that it matches recovery and backup requirements.
  • For Data Guard, account for the actual standby transfer and application requirements before allowing deletion.
  • Confirm that the target database is in an acceptable state and that the required backup channels or media-manager destination are configured.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.