Posted on 2006-11-24
Last Modified: 2008-02-01
  I hope someone can help, we are having a problem with backing up a Fedora server - HP server with 2x 72gb disks on a hardware mirror (shows as one logical disk) we hve tried running a ftp clone of the disk but this will not work due to dhcp problems. I am at the moment working on a bootable bartpe usb drive with ghost9 on to try and clone this disk but is there another way.

The main reason we need this as if the drives in the server or the server itself fail we need to be able to restore this in under 1 day as it will be a web site server holding upto 300 customers.

Question by:HBPROCK
  • 2
  • 2

Author Comment

ID: 18008129
Oh also there is only one guy in the company that knows unix and if he was on holiday we need a way to restore the server when he is not here.

LVL 20

Expert Comment

ID: 18014331
Well, you have many options, of which a ghost restore is of course one (depending on filesystem type, it'll even be able to avoid the track-by-track copy).
Do you employ some backup solution for the rest of your computers? Networker? Netbackup?
Most such also support backing up Linux clients, at a modest cost. That way you'll have a rather easy install, followed by either a directed recover (just the www stuff) or a complete system restore. With practice such a cycle can be done in well less than 24 hours (after all, it's not as if we're talking about a huge data volume).
Doing the install/partial restore would also solve the usual image-based restoration problems... That is: no need to be particularly close in HW setup (the DHCP thing you mention simply makes no sense to me... If the _server_ is configured by DHCP, do yu have a MAC reservation for it? Then just do one for the new server too....:-).

The solution to the second part of your question has a few obvious answers too:
- Documentation of the process
- Training of other persons (let them try their hand under the knowledgeable souls guidance:-)
- Hire a temp guru (depending on local markets, the form this takes might vary a bit).
- Hire an assistant/replacement

None of those solutions are frightfully technical in nature;-).

BTW, when your guru does the install, make him do everything necessary for a kick-start install... Cuts down even more on the time needed to restore onto other HW.

-- Glenn

Author Comment

ID: 18017825
  Thank you for the help, i have managed to get a xpe cd working with ghost on so i am going to try that this morning. The dhcp problem is that we do not have dchp on the server network, 4 servers on the same domain with all statics. I will post back if i can get this working or not.

LVL 20

Accepted Solution

Gns earned 250 total points
ID: 18017883
Ok... That makes more sense:-).
Trick is to let ghost do what it needs connected to the server LAN (If you store the images on that, but since you are restoring from an USB HDD ... that wont be necessary just move on to the next step:), then disconnect it, boot up (and either be prepared for long boot time (some network things that might ... just sit there... for a while), or boot to a "non-networked" runlevel (like single mode (runlever S),  runlevel 1 or 2 ...), log on as root (terminal) then edit (with an editor that you can handle... pico or nano are nice to "tenderfoot" admins:-) /etc/sysconfig/network-scripts/ifcfg-eth0 and change the config to another IP address, then "shutdown -h now"/reconnect/power up ... and the "new" server should be in business:-).
One might run into problems with graphics, NICs or "storage" (SCSI adapter or SATA or whatever), and these are usually most easily handled from a rescue mode boot (install media contains all necessary bits)... If the HW differs a lot. Else, it'll just work:).

Good luck
-- Glenn

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question