rsync & backup file server
I'm wanting to have a backup file server running so that if our main server gives up the ghost that I can be back up an running in a matter of little time as possible. Can rsync be used to do this. I was thinking that I could maybe have it setup to where it would sync up the directory on the main server to the backup each night an then if I had a problem with the main one I could transfer the users to the other machine an then be back up in less time. I know that any work done after the sync would not be there but at least I would have the past days data to work with an the users would just have to recreate one days worth of work at the least. If this is not possible can someone suggest another solution that would. I have a raid level 1 running on the server so I have redundant hard drives if one goes bad. I just went threw a problem where the raid controller was what went bad so I was down totally. I have a spare machine that would be ok for a server in a backup roll if needed for a few days. thanks for info. jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
On Wednesday 31 March 2004 01:59 pm, Jack Malone wrote:
I'm wanting to have a backup file server running so that if our main server gives up the ghost that I can be back up an running in a matter of little time as possible. Can rsync be used to do this. I was thinking that I could maybe have it setup to where it would sync up the directory on the main server to the backup each night an then if I had a problem with the main one I could transfer the users to the other machine an then be back up in less time. I know that any work done after the sync would not be there but at least I would have the past days data to work with an the users would just have to recreate one days worth of work at the least. If this is not possible can someone suggest another solution that would.
rsync is great for the use you are thinking about. Shouldn't take much time either. I backup up several machines/partitions each night using rsync. Works great.
I have a raid level 1 running on the server so I have redundant hard drives if one goes bad. I just went threw a problem where the raid controller was what went bad so I was down totally. I have a spare machine that would be ok for a server in a backup roll if needed for a few days.
thanks for info.
jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 03/31/04 14:14 + +----------------------------------------------------------------------------+ "The art of medicine consists of amusing the patient while nature cures the disease." - Voltaire
Jack Malone wrote:
I'm wanting to have a backup file server running so that if our main server gives up the ghost that I can be back up an running in a matter of little time as possible. Can rsync be used to do this. I was thinking that I could maybe have it setup to where it would sync up the directory on the main server to the backup each night an then if I had a problem with the main one I could transfer the users to the other machine an then be back up in less time. I know that any work done after the sync would not be there but at least I would have the past days data to work with an the users would just have to recreate one days worth of work at the least. If this is not possible can someone suggest another solution that would.
I have a raid level 1 running on the server so I have redundant hard drives if one goes bad. I just went threw a problem where the raid controller was what went bad so I was down totally. I have a spare machine that would be ok for a server in a backup roll if needed for a few days.
thanks for info.
jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
I created a script that is run by cron each night. The script runs several commands like the following: rsync -avz --delete /home 192.168.50.108::backups The backup machine has an rsyncd.conf file as follows: [backups] path = /backups hosts allow = 192.168.50.0/24 read only = false uid = 0 gid = 0 This is pretty easy to set up and works VERY fast. In my case, I then run a script from cron on the backup machine to make archives of the synced data. -- Louis D. Richards LDR Interactive Technologies
On Wednesday 31 March 2004 02:16 pm, Louis Richards wrote:
Jack Malone wrote:
I'm wanting to have a backup file server running so that if our main server gives up the ghost that I can be back up an running in a matter of little time as possible. Can rsync be used to do this. I was thinking that I could maybe have it setup to where it would sync up the directory on the main server to the backup each night an then if I had a problem with the main one I could transfer the users to the other machine an then be back up in less time. I know that any work done after the sync would not be there but at least I would have the past days data to work with an the users would just have to recreate one days worth of work at the least. If this is not possible can someone suggest another solution that would.
I have a raid level 1 running on the server so I have redundant hard drives if one goes bad. I just went threw a problem where the raid controller was what went bad so I was down totally. I have a spare machine that would be ok for a server in a backup roll if needed for a few days.
thanks for info.
jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
I created a script that is run by cron each night. The script runs several commands like the following:
rsync -avz --delete /home 192.168.50.108::backups
Just as a side note, as long as ssh is set up between the machines, you don't need to touch rsyncd.... rsync -avz --delete -e ssh <rest of stuff> would work on any machine that allows the ssh connection. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 03/31/04 14:28 + +----------------------------------------------------------------------------+ "Never tell people how to do things. Tell them what to do, and they will suprise you with their ingenuity." - General George S Patton, Jr.
participants (3)
-
Bruce Marshall
-
Jack Malone
-
Louis Richards