The Core

Why We Are Here => Hardware & Technology => Topic started by: ukgimp on October 17, 2011, 07:38:51 PM

Title: Backing Up Across Networks Using SSH
Post by: ukgimp on October 17, 2011, 07:38:51 PM
I would like to get my stuff more automated.

I have been looking around but I am not too sue of the best approach.

Say I have 2 dedicated servers.

Can you see a problem in creating a new user on each box. Then doing all the mysqldumps and tar of directories then SSH into the other server and push the data up.

I have heard rsync is good? I have used reoback in the past.

I suppose I just want to keep the SSH to a min and avoid backing up stuff that may have not changes, eg maybe only one site gets new data in mysql but the html has never changed in ages.

Do you have any tips etc?

Cheers

Rich
Title: Re: Backing Up Across Networks Using SSH
Post by: ukgimp on October 17, 2011, 07:39:36 PM
Maybe even cloud based these days?

Title: Re: Backing Up Across Networks Using SSH
Post by: bill on October 19, 2011, 06:35:39 AM
I used to have a great system setup on my XP box with rsync. Then I switched servers and trashed the XP box. I need to get motivated to set that back up again.

The great thing with rsync is it's only going to backup what's changed. If you have static content then that's a one-time sync until it changes next.

I used to have trouble going from server to server with SSH due to some of my accounts on shared hosting. I would work around this by making a home PC do all the work with a combination of rsync and various scheduled FTP scripts for backups.

Cloud based backups should work with some Amazon S3 storage.