Home » RDBMS Server » Backup & Recovery » completed before clause
completed before clause [message #534607] Wed, 07 December 2011 13:25 Go to next message
BeefStu
Messages: 192
Registered: October 2011
Senior Member
Is there a difference between the first set of commands
and the second? If so, can somebody give a scenario when each
should be used?

Typically, I just use the first set?


CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS;
DELETE NOPROMPT OBSOLETE;

and

CROSSCHECK ARCHIVELOG ALL completed before 'sysdate -30';
DELETE NOPROMPT OBSOLETE;


Re: completed before clause [message #534613 is a reply to message #534607] Wed, 07 December 2011 15:52 Go to previous messageGo to next message
LKBrwn_DBA
Messages: 487
Registered: July 2003
Location: WPB, FL
Senior Member
First one refers to ALL backups, second to archive logs only?

[Updated on: Wed, 07 December 2011 23:07] by Moderator

Report message to a moderator

completed before clause [message #534686 is a reply to message #534613] Thu, 08 December 2011 07:24 Go to previous message
BeefStu
Messages: 192
Registered: October 2011
Senior Member
My question was not specific enough, I was referring to retention.
Previous Topic: Corrupt control file?
Next Topic: restoring pre-RMAN backup
Goto Forum:
  


Current Time: Sun Oct 21 23:32:10 CDT 2018