rman configuration issue [message #198803] |
Wed, 18 October 2006 10:51 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
alanm
Messages: 284 Registered: March 2005
|
Senior Member |
![joraph_alanm](/forum/theme/orafaq/images/skype.png)
|
|
hello all,
I have a customer running 9ir2 database and using the controlfile for backup.
the customer has limited disk space and can only store 2 days worth of rman backup sets. The other issue is that he is using standard edition and is manually shipping logs to a DR box. The customer would like to keep archive logs from the production database for 14 days on disk but only 2 days worth of backup sets.
I have set a redundancy policy of 1 which when run removes old rman backup sets, but also archive.
If I was to use
backup keep until time 'SYSDATE+14' ARCHIVELOG ALL;
in the same script as my main rman backup would that work.
are the two options mutually exclusive?
regards
Alan
|
|
|
|
|
Re: rman configuration issue [message #198942 is a reply to message #198932] |
Thu, 19 October 2006 04:56 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/85219.jpg) |
ebrian
Messages: 2794 Registered: April 2006
|
Senior Member |
|
|
The RETENTION policy will manage your backupsets and your archive logs on the filesystem.
Your backup command could simply be 'BACKUP DATABASE PLUS ARCHIVELOG'. If you set your retention policy to REDUNDANCY of 1, then you can simply issue DELETE OBSOLETE to manage your backupsets and archivelogs.
With the "dual" retention policy that you need to maintain, the only option I see would be to copy the archive logs to a separate directory whereby you have a cronjob that maintains 'sysdate-14' worth of archive logs.
[Updated on: Thu, 19 October 2006 06:15] Report message to a moderator
|
|
|
|
|
|