sudo bash backup_rclone --name=[Volume NAME, not location]
- rclone v1.51 or higher is installed
- The local drive is mounted under /volumes/<NAME> where <NAME> is supplied at the command line via the --name option
- The name of the target remote is <NAME>encrypted, where <NAME> is the name of the mounted directory supplied at the command line
- The rclone.conf file has been copied into this directory
rclone will complain about dangling links and will not fully sync (i.e. delete any files) for that reason To convert dangling links to empty files do:
for i in `find -L . -type l`; do rm ${i}; touch ${i}; done
sudo crontab -e
30 */8 * * * bash /home/andreas/Science/Software/rclonebackup/backup_rclone.sh -n=atlas -b=backups &>> /tmp/BackupAtlas.log