View previous topic :: View next topic |
Author |
Message |
new_user_gentoo n00b
Joined: 05 May 2011 Posts: 4
|
Posted: Thu May 05, 2011 11:50 am Post subject: Replication/Backup Gentoo |
|
|
Hi, I'm new user Linux Gentoo
I have a problem. I want to perform real-time backup of the server where installed Gentoo. On my Gentoo server running Xen virtual machines. I would do the same server with the same configuration (with a different network addressing) Gentoo system with virtual machines. This "replication" should be performed every minute in order not to lose any data. I've heard of a paid solution so far is Double Take Backup. Do you know any free alternative? Be the solution? |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Thu May 05, 2011 11:52 am Post subject: |
|
|
Do a stage 4 first and then use that to clone to the new machine.
You can then use rsync to keep your user files up to date on the cloned using a cronjob. |
|
Back to top |
|
|
new_user_gentoo n00b
Joined: 05 May 2011 Posts: 4
|
Posted: Thu May 05, 2011 12:16 pm Post subject: |
|
|
Well I understand that the cronjob will synchronize the virtual machines that are running in real mode on the backup server?
Is when I got there, running 15 machines with the servers on which the services are HTTP, FTP, and others are not slow the network? |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Thu May 05, 2011 12:38 pm Post subject: |
|
|
If you are concerned about network bottle necks you could always install a second network on the machines and use that on a different subnet for doing your syncing. |
|
Back to top |
|
|
new_user_gentoo n00b
Joined: 05 May 2011 Posts: 4
|
Posted: Mon May 09, 2011 6:46 am Post subject: |
|
|
Ok, for the moment everything is clear except for:
If on server where I use Gentoo and Xen server I run RSYNC service is or will be replicating files - drive through the base of machines running XEN? |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Mon May 09, 2011 7:52 am Post subject: |
|
|
They should do, however I would be careful with this approach.
It might be safer to do the syncing on a domu basis. |
|
Back to top |
|
|
new_user_gentoo n00b
Joined: 05 May 2011 Posts: 4
|
Posted: Mon May 09, 2011 8:06 am Post subject: |
|
|
hmm ... and you can recommend me something to use in your company? I would add that the data are very sensitive |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Mon May 09, 2011 10:00 am Post subject: |
|
|
new_user_gentoo wrote: | Well I understand that the cronjob will synchronize the virtual machines that are running in real mode on the backup server?
Is when I got there, running 15 machines with the servers on which the services are HTTP, FTP, and others are not slow the network? | rsync has an option by which you can limit the bandwidth: Code: | --bwlimit=KBPS limit I/O bandwidth; KBytes per second
|
_________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Sysa Apprentice
Joined: 16 Mar 2005 Posts: 161 Location: Europe
|
Posted: Mon May 09, 2011 11:47 am Post subject: |
|
|
In order to protect production LAN from saturation/overloading I'm using another NIC(s) to create alternative backup LAN.
Please keep in mind that it does not protect your system from possible CPU or I/O overloading... _________________ RedHat -> SuSE -> Debian -> Gentoo |
|
Back to top |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Mon May 09, 2011 3:26 pm Post subject: |
|
|
Sorry for my intervention, but wouldn't drdb do a better job than rsync in that case!? _________________ Power to the people! |
|
Back to top |
|
|
|