Home » RDBMS Server » Backup & Recovery » rman del archivelogs (aix,10g)
rman del archivelogs [message #309925] Sat, 29 March 2008 18:50 Go to next message
lioracle
Messages: 68
Registered: February 2008
Location: Israel
Member
hello i have scripts rman
run {
backup current controlfile format '/rman/cntrl$DATE_FORMAT';
backup database plus archivelog format '/rman/$DATE_FORMAT.bck';
delete noprompt obsolete;}

its works

but i want to if rman succed it will delete the archive
from my disk.
can i?
thanks
Re: rman del archivelogs [message #309927 is a reply to message #309925] Sat, 29 March 2008 19:35 Go to previous message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Only if you include DELETE [ALL] INPUT with your BACKUP DATABASE command.

If you have a FRA configured, then RMAN will delete old archivelogs to satisfy the disk quota rules if they are no longer needed to meet the retention policy and/or have already been backed up to tape.

[Updated on: Sat, 29 March 2008 19:36]

Report message to a moderator

Previous Topic: Data Block corrupted
Next Topic: open resetlogs
Goto Forum:
  


Current Time: Sun May 12 02:27:30 CDT 2024