Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 05 December 2024, 04:27:54 pm

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Development
| |-+  Contribute Your Customisations & Modifications
| | |-+  Automatic download of your Endian backup files, the easy way.
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Automatic download of your Endian backup files, the easy way.  (Read 26143 times)
tmedcalf
Jr. Member
*
Offline Offline

Posts: 4


« 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"/
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com