Use the following steps to set up remote backups on a server.
$ mkdir -p /mnt/myftp
$ curlftpfs -o allow_other ftp://myusername:[email protected] /mnt/myftp
With rsync
in place use the append option. Also use a long timeout value as the first long phase, the in place comparison, will take a while.
$ rsync -rzvvv --inplace --append --progress --stats --timeout=7200 /mnt/myftp/path/to/source/file.log /path/to/local/destination/
$ sudo umount myftp
curlftpfs#myusername:[email protected] /mnt/myftp fuse allow_other,rw,user,noauto 0 0