Red Hat 5.5 live backup/restore

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Red Hat 5.5 live backup/restore
# 1  
Old 11-29-2011
Red Hat 5.5 live backup/restore

Hello,

I'm trying to take a live backup of a red hat 5.5 64 bit server (with LVM).
Afterwards I want to restore this backup on an empty server, so basicly I want to dublicate the server.
But when I boot the server after the restore, I get stuck at "GRUB _" and changing the menu.lst-file doesn't appear to work

I found the method I used, described here: "http://www.backupcentral.com/wiki/index.php/Linux_%26_Windows_Bare_Metal_Recovery"
But as they mention somewhere on the website, it is apparently only for servers without LVM, which is probably the reason why it doesn't work... or isn't it?

Can anyone help me with this? And otherwise propose me another solution?

Thank you,

Matthias
# 2  
Old 11-29-2011
One option you can use is to use dd to duplicate your entire drive to another drive or image file, then use dd again to push that image to the drive on your new server. This will take a long time, and you will have to remove the specific entries in your duplicate server, such as IP addresses and hostname.
# 3  
Old 11-29-2011
# 4  
Old 11-29-2011
Thank you for your reply.

But is it possible to copy entire directories with dd?
Because when I try to use it (dd if=/boot of=/filename), I get the message "/boot is a directory" (which is off course meant to be)

Matthias

---------- Post updated at 02:42 PM ---------- Previous update was at 02:41 PM ----------

The reply above was for mark54g.

Thanks for your reply as well dude2cool: I'll take a look at it.

Matthias
# 5  
Old 11-29-2011
From man dd, dd works on files not directories. You should use cpio to backup a dir or tar or other such utils..

Quote:
dd - convert and copy a file

Synopsis

dd [OPERAND]... dd OPTION

Description

Copy a file, converting and formatting according to the operands
.
# 6  
Old 11-29-2011
I had meant if you want an entire clone, to do the following (as an example):

Code:
dd if=/dev/sda of=/home/user/somefile.img

this assumes that /home is NOT on /dev/sda or any partitions contained within /dev/sda. This also assumes that there is sufficient space on /home/user to contain the entire capacity of the drive.

Alternately, if you just want the files, then use tar, even through netcat.
# 7  
Old 11-30-2011
Well I'm supposed to back up the OS, not seperate files. (other people are in charge of data back-up )

mark54g: I used dd to backup /dev/sda and instead of writing to the home directory I wrote it to an external disk (/media/sdc).
The only bummer was that the backup took the size of my harddisk (67G) and that it took some time as well, but if I schedule the back up in the weekend it shouldn't be any problem.

Anyway, I didn't think the solution could be that simple, but yet it did work.
So thanks a lot!

Regards,

Matthias
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Red Hat

Backup of Red Hat Linux 5.9 Tikanga based server through Acronis 11.5

Hii, We are running a server with Red Hat Linux 5.9 tikanga version. We have scheduled the online image backup of the server through Acronis 11.5, the CPU utilization of the server is increasing upto 100%. and after sometime the server is going down. Can anyone help on the same?? (2 Replies)
Discussion started by: Vivek Kr Porwal
2 Replies

2. Red Hat

Setting Up live FTP Server with Static IP in Red-Hat Linux 6

Hi Guys, I want to some guidance from you in setting up the Live FTP server in Redhat Linux 6 with Static IP 120.50.150.50. Now should I set my Static Public IP directly to my Linux machine? If so what whould be my sunbet mask? Is any type of natting required here? if so where would... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

backup/restore vir machine manager in red hat

Hi, I use virtual machine manager in red hat linux 5.4 . I create the guest host in the virtual machine manager... How can I backup and restore the guest host ?? Any detailed procedure ??? (1 Reply)
Discussion started by: chuikingman
1 Replies

5. Linux

Red Hat AS 2.1 Backup O/S

Hello, I have a Red Hat As 2.1 server and need to make a backup of the entire system, something similar to AIX's mksysb or HP-UX's Ignite, in case configuration changes that need to be made fail. Is this possible with RH AS 2.1? If so, how would this be accomplished? (1 Reply)
Discussion started by: zuessh
1 Replies
Login or Register to Ask a Question