I just bought 100GB of “Cloud”-Space at Strato’s HiDrive for remote server backups.
Now i want to do a remote backup to my Backup-Space using rsnapshot.
All the examples I found were only for backing up FROM remote servers to local machine, but not for backing up TO remote servers.
How can I do incremental backups using rsnapshot using one of the protocols above?
rsnapshot only saves to local file systems.
From the manpage for the parameter
snapshot_root Local filesystem path to save all snapshots
It might be possible to mount your backup space locally (WebDAV, SMB, or sshfs via fuse), but I am not sure this would be of much use as I don’t know if hardlinks like rsnapshot needs them work on any of these remote file systems. My guess is that it’s not working and this is why it insists on local file systems in the first place.
An alternative would be to mount your HiDrive to a local path and use this as the rsnapshot_root. You can use sshfs (sftp), webdav or cifs to mount the HiDrive.
Consider also the documentation how to use cmd_preexec and cmd_postexec to mount and unmount your HiDrive.
The idea of Roy Kaldung didn’t work because the hardlink creation failed.
The way you CAN do it is by creating a loop filesystem and just mounting and using that.