Re: RMAN delete BEFORE backup

From: Guillermo Alan Bort <cicciuxdba_at_gmail.com>
Date: Mon, 7 Feb 2011 17:41:49 -0300
Message-ID: <AANLkTimnUvj=Xdp9tsMVn_x=uASST=zwTb6_ywhbC2PK_at_mail.gmail.com>



If you are going to use a redundnacy 1, then I'd take a full backup every day and just delete the old one... that saves the most space and makes recovery fastest. but it makes backup slower. How are you safeguarding backups? are they staying on the same storage as the db? are they being shipped to tape?

cheers
Alan.-

On Mon, Feb 7, 2011 at 5:04 PM, Alan Sterger <asterger_at_earthlink.net> wrote:

> Alan,
>
> CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
>
> Observed tight storage on Saturday sometimes breaking last L1 backup job.
> Execute 'crosscheck archivelog all' and 'delete expired archivelog all' to
> free space. Then sufficient space available for a Level 0 to complete.
>
> Changed to a mid-week Level 0 as a workaround. Is this the best space
> utilization scenario?
>
> Great name by the way!
>
> Cheers,
>
> -- Alan Sterger
>
>
> On 2/7/2011 2:23 PM, Guillermo Alan Bort wrote:
>
>> Alan,
>>
>> What is the retention policy set in rman?. The delete input cannot be
>> deleted before the backup, because if you do, then there would be nothing to
>> backu up, because you just deleted it... On the other hand, if the retention
>> policy is a RECOVERY WINDOW, it's possible to run the delete obsolete before
>> the backup, HOWEVER, if you have a lvl0 once a week, then that level 0 would
>> be kept as well as all the level 1 backups to match the recovery window.
>>
>> Can you upgrade to 10g? after 10g, it's possible to compress the backups
>> on the fly, and only generate a compressed dump... it's a hog on CPU, but it
>> saves space....
>>
>> hth
>> Alan.-
>>
>>
>> On Mon, Feb 7, 2011 at 3:22 PM, Alan Sterger <asterger_at_earthlink.net<mailto:
>> asterger_at_earthlink.net>> wrote:
>>
>> Hello Listers,
>>
>> Using Oracle 9i RMAN template below. Level 0 executes on Sunday,
>> Level 1 the rest of the week.
>>
>> Client has limited disk space. Can the 'delete input' and/or
>> 'delete obsolete' be executed BEFORE the two 'backup' commands?
>>
>> Are there other tweaks that can be applied? Got a better script?
>>
>> run {
>> allocate channel Channel1 type disk format
>> 'F:\orabackups\%d_%s_%p_%t';
>> backup incremental level 1
>> ( database include current controlfile );
>> backup ( archivelog all delete input );
>> }
>> allocate channel for maintenance device type disk;
>> delete obsolete device type disk;
>>
>>
>> Cheers,
>>
>> Alan Sterger
>> --
>> http://www.freelists.org/webpage/oracle-l
>>
>>
>>
>>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 07 2011 - 14:41:49 CST

Original text of this message