system — 2013-01-07T08:46:31-05:00 — #1
VPS backup to HDD
Hey guys, I just have a quick question, since all of you are smart with this type of stuff.
I own a VPS, and I because I have alot of information on there, I want the backups to run via my HDD. Is this possible?
It doesn't matter if it's manually or automatic. I just want to know if there's a software out their that basically downloads my backups from my Linux VPS to my HDD via my windows computer..
Thanks for your help.
Sorry if this is in the wrong section.
ideamine — 2013-01-07T11:55:33-05:00 — #2
Well you can always compress what it is that you want to back up and say download it via FTP. If your VPS has something like cpanel it will be more convenient, as there are custom scripts to take backup and such.
serverstorm — 2013-01-08T14:12:53-05:00 — #3
You could run[ a cron job on the linux box that would backup (copy) the files, maybe a database into a directory (overriding any files that have not changed) and then using [URL="http://www.commandlinefu.com/commands/view/2217/create-a-tar.gz-in-a-single-command"]command line instructions in the cron script to tar.gz and[URL="http://www.cyberciti.biz/faq/linux-unix-ftp-commands/"] ftp the files to a ftp site running on your computer. It would be best to do this via a vpn so you would have to speak with your ISP to see if you could [URL="http://openvpn.net/index.php/access-server/docs/admin-guides.html"]set-up OpenVPN](http://www.unixgeeks.org/security/newbie/unix/cron-1.html) on your server and they would need to bind this service in their firewall. Using a VPN would protect the very insecure ftp protocol while info is in transit.
You can also schedule this with a different approach using rsnspshor rsync utility. This is complicated in that you need to set up Key Based Authentication. It is arguable if this is harder or earier than what I describe about, although I will say that neither solution is what I consider easy for a non-technical user.