Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.