With RMAN, can I use 'copy archivelog all delete input' to copy each archive redo
logfile to a single file?
-----Original Message-----
Sent: Wednesday, October 15, 2003 9:20 AM
To: Multiple recipients of list ORACLE-L
Your backup script should be deleting archive logs after they are backed up. With
RMAN, you could do the following, just to backup and delete your archivelogs:
run
{
allocate channel ch1 type disk format '/bkup4/oracle/%d/arc_s%s_p%p_%t';
set limit channel ch1 kbytes=1000000; # Limit sets to 1 Gb.
backup archivelog all delete input;
}
If you're not using RMAN, delete the logs that have been backed up by your script.
If you're not backing them up, you're going to have recovery issues.
Jay
>>> [EMAIL PROTECTED] 10/15/03 09:44AM >>>
Hello Gurus,
Have some disk space issues, so looking for ways to cleanup.
Please confirm that my thinking is correct.
I run the command and example output below:-
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination C:\Oracle\oracle.....
Oldest online log sequence 2334
Next log sequence to archive 2338
Current log sequence 2338
I can write a script (Perl) to remove all archive files < 2334?
Much appreciate any input or confirmation.
Regards
Denham Eva
Oracle DBA
Linux like TeePee... No Windows, No Gates and Apache inside!
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Denham Eva
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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)
**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the
individual or entity to which they are addressed and may contain information that is
privileged, proprietary and confidential. If you are not the intended recipient, you
may not use, copy or disclose to anyone the message or any information contained in
the message. If you have received this communication in error, please notify the
sender and delete this e-mail message. The contents do not represent the opinion of
D&E except to the extent that it relates to their official business.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jay Hostetter
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).
For technical support please email [EMAIL PROTECTED] or you can
call (972)721-8257.
This email has been scanned for all viruses by the MessageLabs Email Security System.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Roger Xu
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).