Solved

BACKING UP FEDORA - CLONE THE DRIVE

Posted on 2006-11-24
5
819 Views
Last Modified: 2008-02-01
Hi,
  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.

Thanks
Andy
0
Comment
Question by:HBPROCK
  • 2
  • 2
5 Comments
 

Author Comment

by:HBPROCK
Comment Utility
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.

Thanks
Andy
0
 
LVL 20

Expert Comment

by:Gns
Comment Utility
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
0
 

Author Comment

by:HBPROCK
Comment Utility
Gns,
  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.

Thanks
Andy
0
 
LVL 20

Accepted Solution

by:
Gns earned 250 total points
Comment Utility
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
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now