LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-26-2006, 08:55 AM   #1
MOnte_CristO
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Question Mirror the server on live time


Hi everbody

I’ve the follow problem, and I am looking for e great solution:
We use some RHEL 4 Server, and we like to backup the whole server. But without to shutdown the server, because the services must be still available. The goal is to mirror the whole hard disk to an other system in the network.

So I think to use “dd” and “netcat” to copy the whole hard disk. But I don’t now if this idea is really good. Maybe the system performance is going to lack.

Thx for ideas
 
Old 10-26-2006, 01:16 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I think rsync is the weapon of choice for this.

--- rod.
 
Old 10-27-2006, 06:55 AM   #3
MOnte_CristO
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
yes okay, i's an idea. but with rsync, you can't copy whole partitions...
 
Old 10-27-2006, 11:08 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If a filesystem is mounted, you cannot reliably make copies of it. Ergo, 'dd' is not going to be useful to you. If you want to make image backups, you must unmount the partition, which may be contrary to your constraint of doing 'live' backups. If you do find it suitable to unmount a partion for making backups, may I suggest 'partimage' (Partition Image), which is good at compressing the backup image, and network friendly.

Rsync can be used to backup an entire partition, but only on a file-by-file and directory-by-directory basis (ie not an image backup). The upside of that is that you should have a ready-to-run copy of your data for recovery purposes.

---- rod.

Last edited by theNbomr; 10-27-2006 at 11:11 AM.
 
Old 11-09-2006, 12:16 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If the 1st server is very busy and/or has a lot of files, rsync is going to take while and you'll likely end up with a set of new files that are not synchronised.
If it's just a HW failure you're worried about, consider some form of RAID eg mirror or even a cluster.
If you want a remote hot-standby, you'll need some way of duplicating the incoming TCP/IP requests.

Maybe this will help: http://amanda.zmanda.com/quick-backup-setup.html

Last edited by chrism01; 11-09-2006 at 12:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mirror files from one server to another in real time jimsvoboda SUSE / openSUSE 2 04-22-2006 05:08 PM
Web server timing out half the time and it's live! critical Linux - Software 2 08-20-2005 08:56 PM
How do I mirror of a web server? bleunuit Linux - Networking 1 05-21-2004 01:38 PM
I'm looking for a mirror w/ Gentoo PPC Live CD Thaidog Linux - Distributions 2 04-15-2004 10:21 PM
Auroz 1.4.1 Live ISO mirror e-nDrju Linux - Distributions 1 03-18-2004 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration