I have been running into problems when my NAS is crashing and shutting down.
I have currently an infinite loop running in a ubuntu VM with command.
rclone -c -v sync /media/f secret:/Backups/VeeamZipBackups/ --backup-dir secret:/old/ --suffix="-date-$(date +"%Y-%m-%d-%H-%M-%S")" --copy-links --exclude-from /opt/rclone-exclude.txt --syslog
However, when NAS crashes nfs mount on my VM cannot read file and instead moves all files to backup-dir. Wondering if there is any way to check pre specified file access in source and halt the move as the file does not exist because source is not readable.