Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ****** RMAN backup for multi TB databases ******

RE: ****** RMAN backup for multi TB databases ******

From: <Jared.Still_at_radisys.com>
Date: Fri, 20 Aug 2004 10:54:25 -0700
Message-ID: <OFF7F98E3B.266867E5-ON88256EF6.006205C8-88256EF6.00625FC5@radisys.com>


> Because of concerns about restore time when restoring directly from
tape, we
> now run rman to backup to a 1.8 Tb filesystem created for this purpose,
then
> use a ksh (We don't need no stinkin' Perl) script to copy the files to
tape
Too bad, you don't know what you're missing.

>
> NOTE: One thing that should be fixed with the script -- one of these
days
> when I get around to it (oh yeah, sure) -- is that while the script
checks
> to see if it is already running with at least one of the command line
args
> and exits if it is, it will run (I think) if there are no common command
> line args between the two commands. .
>

This is actually quite trivial in Perl via flock(). Doesn't matter if the previous job was kill -9'd, flock() will let you check to see if the file is in use. ( Fctnl flock in my case)

;)

Jared



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Aug 20 2004 - 12:50:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US