Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ****** RMAN backup for multi TB databases ******
> 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
-- 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
![]() |
![]() |