Hello all,

because i found no satisfying solution for executing commands before and
after
a particular disk is backuped, i wrote a patch for sendbackup, which does
that.

I'm using amanda 2.4.3 and tested the patch on HP-UX and linux (on both
compiled with gcc)

The patch is applyed from within the amanda sources base folder:

patch -p0 < client_exec.diff

If the script shall run as the root user, $libexecdir/sendbackup must
belong to root
and suid-bit must be set.

The script called befor and after a disk is backuped is
$libexecdi/backup_cb.
I attached an example script to this message.




Maybe anyone else uses it.

Regards,
Oliver

________________________________

Oliver Schweikert
Software Development

Horiba Europe Automation Division GmbH
Zaberg�ustr. 3
73765 Neuhausen
Tel:  +49 - (0)7158-933-400
Fax: +49 - (0)7158-933-499
Email: [EMAIL PROTECTED]
(See attached file: client_exec.diff)
(See attached file: backup_cb)

Attachment: client_exec.diff
Description: Binary data

Attachment: backup_cb
Description: Binary data

Reply via email to