Amanda-Users

pre- and post-script

2005-01-27 09:13:44
Subject: pre- and post-script
From: "Claus Rosenberger" <Claus.Rosenberger AT rocnet DOT de>
To: amanda-users AT amanda DOT org
Date: Thu, 27 Jan 2005 14:59:25 +0100 (CET)
hi,

as the response at this mailinglist i set up a script now which do some
pre stuff then start the backup and do some post stuff after the backup.
but the besser way would be an integration of these scripts into the
backup process because the logfiles will be at one single place.

the solution could be two parameters in amanda.conf, i.e.
prescript=/path/to/script and postscript=/path/to/script

if the script returns 0 the process will be continued, all stdout will be
logged into the central logfile of the backup job.

regards

claus


<Prev in Thread] Current Thread [Next in Thread>