On 2006-06-01 12:40, Francis Galiegue wrote:
Hello,
I have a problem here which I solve for now the "bad" way. I want to do a cold
backup of several Oracle databases, which means that the instances have to be
stopped. So, via cron, I stop them a full half hour before the backup begins
and restart them approximately one hour after the backup has completed.
There is NO Oracle client on the server and I don't plan to install one.
So, my question would be: is there a way to tell amdump to execute one or
several scripts just before the backup begins (and of course, wait that these
scripts complete)?
An ugly method is to use a so-called wrapper, explained here:
http://wiki.zmanda.com/index.php/Backup_client#pre_and_post-_backup_scripts_.28wrappers.29
--
Paul Bijnens, xplanation Technology Services Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************