Help - Search - Members - Calendar
Full Version: Archivelog Backup
Oracle DBA Forums > Oracle > Oracle Forum
sarankaran_y@yahoo.co.in
Hi all,

In our production Database,they are taking backup using veritas in the end of the day.The space occupied by the archive log in Disk is quite large.

If any media failure occured,archive log of the day is enough to restore the data or entire archive log backup files are needed?

if the specific log is enough,can we delete the files from the disk?

We are not doing any RMAN backup.
dave
only you know if you can delete them, when do you want to restore to? how long do you keep your backups for?
sarankaran_y@yahoo.co.in
QUOTE (dave @ Jul 21 2008, 09:20 AM) *
only you know if you can delete them, when do you want to restore to? how long do you keep your backups for?


when do you want to restore to?

At the time of media failure.

Every end of the day the backup DB is updated.If any media failure occurs in future,we need to update the Backup Db by the transactions occured on the day only.

In this scenario,For update the backup Db ,Can We need only current archive log,or all.

So can we delete the archive log from disk with out backup using RMAN?
SteveC
Why wouldn't you be using RMAN?

There are several things to consider here. Let's suppose you have a weekly full backup, and daily incrementals. All throughout the week, you have backups taken of archivelogs. Pick a point in time in the past that you want to recover to. Figure you will need the last prior full backup and the archive logs going forward from there (as one way). Would you need archive logs from before the last full backup in this case? When you backup the archive logs, why aren't you deleting from disk? That's your main management issue. I presume you are using a tape backup given you said you are using Veritas.
HAL9000
"archive log of the day is enough to restore the data or entire archive log backup files are needed?"

No, just the archived logs since the last backup.

It's easy to locate and nuke elderly archived redo log, schedule a job to do it with cron:

http://www.dba-oracle.com/t_remove_trace_d..._redo_files.htm

CODE
# Cleanup PROD archive logs more than 3 days old
/usr/bin/find /u01/app/oracle/admin/PROD/arch/arch_prod*.arc -ctime +3 -exec rm {} \;
SteveC
And you can use RMAN to report on expired backups and delete obsolete. If a Veritas job fails or some other problem with the MML is taking place, having a cron remove files based on a date criteria may result in having logs deleted that have not been cataloged yet.
sarankaran_y@yahoo.co.in
Thank you for all.All the informations are very helpful.I will keep the archive logs for a week,and delete the files by RMAN.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.