Hey guys. thanks for the great little tool.
I have one feature request -- it would be nice if duply would check the return code of the precondition (pre) to determine if it should continue with the backup. If the precondition returns something nonzero (failure), duply would abort. If the precondition does not return something nonzero, duply would continue. This would allow the user to write code like the following.
# If the backup drive is not already mounted, abort.
if [ ! -d /media/backup_drive ]; then
What do you think? Does this make sense, or would you argue that there is a better way to do this?
Log in to post a comment.