Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: archivelogs and rman
This is how I do it....
create script something_backup{
allocate channel c1 type disk format '/u01/oradata/sid%p_%d_%s.bck';
set limit channel c1 kbytes 512000;
resync catalog;
backup
incremental level = 0 filesperset 10 tag "Full backup" (database include current controlfile);release channel c1;
HTH,
Sonja
-----Original Message-----
Sent: Wednesday, April 17, 2002 4:58 PM
To: Multiple recipients of list ORACLE-L
Hi
I would like to set up rman so that it backs up archivelogsand deletes them.
However I want rman to delete those which are sysdate-2 (i.e. want to keep
about a day or 2 archivelogs on disk so an os backup can also be performedfor
added precaution)..
would this be correct:
backup
format '/var/backups/oracle/rman/al_%d_s%s_p%p' ( archivelog until time 'SYSDATE-2' delete input );
Any help/advice would be greatly appreciated
Rgds
Fawzia
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Malik, Fawzia
INET: Fawzia.Malik_at_bskyb.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Apr 17 2002 - 10:48:29 CDT
![]() |
![]() |