I am mounting my remote backup volume using a rsnapshot cmd_preexec script.
If the /mnt/backup directory doesn't exist when starting rsnapshot i get this error:
ERROR: /mnt/backup does not exist.
If the directory exists and the preexec mounting fails, it does not stop rsnapshot resulting in the backup being backed up on the completely wrong server...
What should I do about this?
I know that I could use a wrapper-script, but I don't want to do this..