Aug 18, 2017, 11:55

Backup to Hetzner storage box from low-end D-Link NAS

Here is short script you can use to make backups into Hetzner storage box using CIFS aka Windows Share.

mount.cifs // /mnt/hetzner/ -o user=uXXXXXX,pass=YYYYYYYY
cp -r /mnt/HD/HD_a2/backups2/hourly.0/ /mnt/hetzner/dns-320
umount /mnt/hetzner

Deadly simple.

And what I want is to backup everything what has been done by the rsnapshot, that's why I've added following to the crontab

30 3 * * *  rsnapshot daily && /mnt/HD/HD_a2/ffp/home/root/

So right after rsnapshot finish its job backup to remote host starts.