EFW Support

Development => Contribute Your Customisations & Modifications => Topic started by: tmedcalf on Monday 30 July 2012, 11:00:29 pm



Title: Automatic download of your Endian backup files, the easy way.
Post by: tmedcalf on Monday 30 July 2012, 11:00:29 pm
After looking at a number of methods, wget, curl, and rsync, I believe this to be the quickest and easiest.

This is the easiest method I have been able come up with, if there is an easier way I would like to know what it is.
On a Linux admin pc execute:

ssh-copy-id root@"your-efw"

crontab -e
(pick the editor of you choice)

@hourly sftp root@"your-efw":/var/backups/*.tar.gz /home/"your-username"/"your-storage-directory"

Save your modified crontab file and your done.

For rsync:

@hourly rsync -avz -e ssh root@"your-efw":/var/backups/*.tar.gz /home/"your-home-dir"/"your-storage-dir"/