I have a small raspberry Pi that I use as a NAS, mount with fstab, and back up to my desktop with rsync.
But, sometimes the raspberry pi doesn't mount, and rsync deletes the whole backup folder.
Is there any way to tell rsync (or grsync) not to start the backup if the raspberry is not mounted?