On Tue, Feb 17, 2004 at 01:44:12PM -0500, Alastair Neil wrote:
> Is there any provision in the DLE format to include pre and post run
> scripts e.g. to shutdown a  database prior to backup?  I did not find
> anything relevant in the FAQ-O-matic.

Nothing built in.

The common solutions are

- put extra cron entries to do the shutdown and restart
- start amdump via a shell script that does the shutdown before and
  restarts after a call to amdump
- replace your dump or tar command with a shell script that analyses
  which file system and which pass (estimate or backup) is in use
  and only does the shutdown/restore for appropriate calls wrapped
  around the actual call to dump or tar

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to