-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Miroslav Rudisin wrote:
> Package: backupninja
> Version: 0.9.4-unreleased
> Severity: wishlist
> Tags: patch
> 
> 
> Support for executing command before backup and also after backup.
> 
> This is required when doing backup on not permanently mounted partition.
> 
> I tried to implement this feature. See following patch.

Hi,

Maybe I am misunderstanding what you are wanting to do, but can't you do
this by creating a /etc/backup.d/10.sh script which does the mount, then
you have your /etc/backup.d/20.rdiff that does the backup, then
/etc/backup.d/30.sh which does the unmount?

It seems to me that you can just do this with the shell handler, rather
than hacking the base code.

But please, correct me if I am missing something :)

Micah
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJqLs9n4qXRzy1ioRAsDHAKCcgIny4uHKTlLMbWtmsgq5F26NbwCgma6y
ba9vcDEttUpjbEx/zxKhXmE=
=5sJL
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to