October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Safely Back Up or Delete Oracle Archived Redo Logs

A safe RMAN workflow for protecting recovery and standby requirements while reclaiming Oracle archived redo log space.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use RMAN, check the archived-log deletion policy and recovery dependencies, then choose a deletion command whose scope matches your goal. In particular, DELETE INPUT and DELETE ALL INPUT remove different copies. Before running either, confirm your Oracle release, archive destinations, backup plan and—if applicable—Data Guard requirements. RMAN syntax and behavior can vary by release and topology, so verify commands in the Backup and Recovery Reference for your installed version.

Check what Oracle must retain before cleanup

First establish which database and destinations the job will affect. Identify the installed Oracle Database release, whether the database is a CDB or non-CDB, all archive destinations, and whether it participates in Data Guard. Connect RMAN to the target database and to the recovery catalog if your site uses one.

As an Amazon Associate I earn from qualifying purchases.

Review the configured backup retention policy and CONFIGURE ARCHIVELOG DELETION POLICY. Also check the recovery plan and the actual state of restore points, Flashback Database, backup jobs, and standby shipping and application. Do not assume the defaults are still in effect: confirm configuration and recent job output on the system you intend to clean up.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

Oracle’s deletion policy determines when archived logs are eligible for deletion across archive destinations, including the fast recovery area (FRA). That eligibility is not a substitute for checking whether a log is still needed for recovery or a standby.

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • 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.

Understand the deletion policy conditions

Condition or setting What it means for cleanup
BACKED UP n TIMES TO DEVICE TYPE Logs become eligible only after the specified number of backups exists on the specified device type. For example, CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO SBT; sets a two-backup condition for SBT. This is a syntax example, not a universal recommendation about how many copies to keep.
APPLIED ON STANDBY Adds a condition that logs be applied on standby databases. The ALL variant extends the condition to all applicable remote destinations; check which destinations your topology requires.
SHIPPED TO STANDBY Adds a condition that logs be transferred to standby destinations. The ALL variant extends the condition to all applicable remote destinations; verify that the required destinations are covered.
Default NONE policy For FRA logs, a backup to disk or SBT, or being obsolete under the backup retention policy, can make a log reclaimable. Logs needed by a guaranteed restore point or Flashback Database are protected from being treated as obsolete. Outside the FRA, a manual RMAN delete under NONE follows the delete command’s own conditions.
FORCE Overrides the archived-log deletion policy for the relevant deletion command. It bypasses a safeguard; do not use it for routine space cleanup.

In Data Guard environments, do not assume that satisfying a local backup condition is enough. Determine whether policy must wait for transfer to remote destinations, application on standby databases, or both. Confirm whether the configured condition covers mandatory destinations or all applicable destinations before deleting logs.

Back up archived logs before deleting them

Use a device type and RMAN channel configuration that match your site’s backup architecture. Oracle documents BACKUP ARCHIVELOG ALL NOT BACKED UP 2 TIMES; as an example for targeting logs that need additional backups. The effect depends on the device and channel context, so confirm that the job is backing up to the intended destination and that the configured deletion policy will not cause required logs to be skipped.

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.

When using a backup-count policy, RMAN can skip logs that already meet the configured count during BACKUP ARCHIVELOG. Review the job output and backup records to verify what was actually backed up; a command completing is not by itself proof that every log you intended to protect received the required backup.

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

Choose between DELETE INPUT and DELETE ALL INPUT

Clause What RMAN deletes after backup Use it when
DELETE INPUT The particular archived-log copy RMAN used as the source for that backup set. Other copies at different archive destinations remain. You want to remove the copy used for backup while retaining other destination copies.
DELETE ALL INPUT Backed-up copies of each selected log from all log archiving destinations. You have verified that removal of every such copy is intended and safe.

The distinction is the deletion scope, not the backup destination. Oracle’s documented form below uses DELETE ALL INPUT, so it removes backed-up copies from all archive locations after the backup. Do not adopt that clause when the operational goal is to retain other destination copies.

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.
BACKUP DEVICE TYPE sbt
  ARCHIVELOG ALL
  DELETE ALL INPUT;

Use the narrower DELETE INPUT clause instead when only the source copy should be removed. Adapt either form to the installed release, configured channels and deletion policy, and inspect the planned scope before running it against production logs.

Manage FRA space without bypassing recovery safeguards

The database automatically deletes only archived logs in the FRA. It tries to retain eligible files as long as possible and removes eligible logs when it needs additional space. RMAN deletion commands can also address archive locations inside or outside the FRA.

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • 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.

Do not treat FRA eligibility as permission to delete files directly from the filesystem. Oracle recommends managing cleanup through the backup retention policy and archived-log deletion policy. If logs that you believe are safe to remove are not eligible, investigate the policy, backup plan, destination availability and FRA capacity rather than routinely using FORCE or operating-system deletion.

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

An inaccessible FRA is a serious availability risk: if no alternate archive destination is accessible, the database can eventually halt when it cannot archive online redo. After a cleanup job, monitor FRA capacity and backup and recovery status, and resolve destination or capacity issues before archive space is exhausted.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Run the cleanup as a controlled operation

  1. Confirm the target and topology. Identify the database release, container setup, archive destinations, backup devices and any Data Guard relationships.
  2. Review policy and dependencies. Check the retention policy, archived-log deletion policy, restore points, Flashback Database needs, standby transfer and application requirements, and the recovery plan.
  3. Back up what needs protection. Run the archived-log backup using the intended device and channel configuration. Verify the logs and backup destination in the job output and repository records.
  4. Select the deletion scope. Choose DELETE INPUT to remove the backup-source copy, or use DELETE ALL INPUT only when backed-up copies at all archive destinations are meant to be removed.
  5. Verify after the job. Check RMAN job results, backup and recovery status, and FRA capacity. If required logs remain ineligible, correct the underlying policy, backup, destination or capacity issue instead of bypassing safeguards.

Oracle describes configuring a fast recovery area, backup retention policy and archived redo log deletion policy together as its recommended maintenance strategy. Use the Backup and Recovery Reference for the installed release to confirm exact command behavior, particularly for Data Guard and third-party backup configurations.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.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
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.