Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replication/Backup Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
new_user_gentoo
n00b
n00b


Joined: 05 May 2011
Posts: 4

PostPosted: Thu May 05, 2011 11:50 am    Post subject: Replication/Backup Gentoo Reply with quote

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
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Thu May 05, 2011 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
new_user_gentoo
n00b
n00b


Joined: 05 May 2011
Posts: 4

PostPosted: Thu May 05, 2011 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Thu May 05, 2011 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
new_user_gentoo
n00b
n00b


Joined: 05 May 2011
Posts: 4

PostPosted: Mon May 09, 2011 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Mon May 09, 2011 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
new_user_gentoo
n00b
n00b


Joined: 05 May 2011
Posts: 4

PostPosted: Mon May 09, 2011 8:06 am    Post subject: Reply with quote

hmm ... and you can recommend me something to use in your company? I would add that the data are very sensitive
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon May 09, 2011 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Mon May 09, 2011 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Mon May 09, 2011 3:26 pm    Post subject: Reply with quote

Sorry for my intervention, but wouldn't drdb do a better job than rsync in that case!?
_________________
Power to the people!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum