Hello! I am running Grsync 1.3.0 on Manjaro Linux. I use Grsync to back up files from a remote server. On the "Extra options" tab, I have specified a script to run before rsync: the script creates a sshfs connection to the remote server and checks that the local mount-point is not empty to verify that connection has succeeded; and the "Halt on failure" box is checked so that rsync will not run if the local mount-point is empty (which would wipe out the local copy). This all works as expected when run from within Grsync. However, when this is run from grsync-batch, the "Halt on failure" option is not respected -- meaning that in the event of a failure to connect to the remote server, my entire local backup is erased because the local backup is synced with an empty mount-point folder. While I have been running grsync-batch from a crontab entry, the same unwanted behavior occurs if I run grsync-batch directly in a terminal.
Hello,
Thanks for the report.
grsync-batch is probably a bit behind compared to the GUI, I will review the features and fix this.
Cheers!
Added support for the missing halt on failure option to the batch script.
Will push today and release along with 1.3.1 ASAP.
Thanks!