Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 01 November 2024, 04:24:47 pm

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14248 Posts in 4376 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Development
| |-+  Contribute Your Customisations & Modifications
| | |-+  Automatic download of your Endian backup files, the easy way.
0 Members and 2 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 21341 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.031 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com