tags 493177 +upstream
severity 493177 wishlist
merge 493176 493177
thanks

Hi,
You're right, preexec is optionnal and no blockable "by design" :

g...@kamehouse:~$ sudo rsnapshot hourly
mount: special device /dev/sdg does not exist
WARNING: cmd_preexec "/home/gui/bin/rsnapshot_pre.sh" returned 1

my test script rsnapshot_pre.sh only contains :

#!/bin/bash

mount /dev/sdg /mnt || exit 1


The rsnapshot function "exec_cmd_preexec" (or exec_cmd_postexec for
postexec) just check the returned code before launching snapshots.

It seems that a feature request is already opened upstream about this
problem (2007):
http://sourceforge.net/tracker/?func=detail&aid=1730249&group_id=88546&atid=587079

I will send a comment on this feature request, to "up" this feature
upstream. For now, i change the priority of the bug to wishlist and
merge this bug with your previous (#493176) which is related.


Another feature request to have preexec for whole rsnapshot run too:
http://sourceforge.net/tracker/?func=detail&aid=2446248&group_id=88546&atid=587079

-- 
Guillaume Delacour

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to