News Stay informed about the latest enterprise technology news and product updates.

Make redundant RMAN archive log backups

Recovery Manager tip #3 from "30 tips in 30 minutes," brought to you by the IOUG.


The following is Recovery Manager tip #3 from "30 tips in 30 minutes," brought to you by the IOUG. Return to the main page for more tips on this topic.


RMAN can backup your archive log files and delete them once they have been successfully backed up. That accomplishes two things: your redo log files are copied and the disk containing those files is consistently cleaned up so that it does not fill up. Here's how you might be sure that you have at least three copies of your archive logs before you remove them:

1. Make a baseline backup of all existing archive log files for your PRACTICE database using the ARCHIVELOG ALL option for the first two days of your new backup schedule.

2. Each day, make a backup of all existing archive log files containing redo from the last two days (Use "from time 'SYSDATE – 2').

3. Each day, make backup of the logfiles containing redo from three days ago until two days ago (Use "from time 'SYSDATE-3' until time 'SYSDATE-2'").

Note that when including backups within a time range, any archive logs containing redo within the date/time range are included in the backup.


Get more tips in minutes! Return to the main page.

About the author: Kenny Smith has been working with Oracle technology on HP servers for over a decade. He specializes in Oracle database architecture, database administration and development. He has presented at numerous Oracle conferences on two continents. He has published many articles describing Oracle solutions and has co-authored "Oracle backup and recovery 101" from Oracle Press.

IOUG: Become a member of the IOUG to access the paper referenced here and a repository of technical content created for Oracle users by Oracle users.

Dig Deeper on Oracle database backup and recovery

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close