• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

How do I can make a Linux complete backup and restore it?

Hi,

I need to create a whole Linux system backup and restore it then on another hardware.
What is the good way to do it?

I have Fedora Core 12 x64 on my server.
0
CiklumIT
Asked:
CiklumIT
1 Solution
 
rindiCommented:
Use CloneZilla which is included on the PartedMagic LiveCD. As long as it properly recognizes the RAID array it should be fine (there are different boot options with some particularly for different RAID systems, so if it doesn't recognize the array properly with the default boot, just try another):

http://partedmagic.com
0
 
Iuliu IleaCommented:
Hello,

You can make a full backup of your linux machine with Ghost4Linux.

And after that you can restore that image on other machine.
0
 
CiklumITAuthor Commented:
Unfortunately, CloneZilla doesn't start on that machine, tried different video modes.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
rindiCommented:
PartedMagic also has text modes. Just try the different options you get within the boot menu.
0
 
CiklumITAuthor Commented:
ok, thanks guys, will try both variants.
0
 
JRoyseCommented:
You can boot BOTH machines off of a  linux boot disk as mentioned (Gparted, partedmagic, knoppix, etc) and clone them over the network.  Since the "dd" command is a disk level copy have cloned windows, linux, etc, with this.

http://serverfault.com/questions/51567/how-to-set-up-disk-cloning-with-dd-netcat-and-ssh-tunnel
0
 
CiklumITAuthor Commented:
I have used dd but I couldn't boot cloned system on the new hdd.
I assume that obstacle is configured software RAID-1 on the source hdd.
On source hdd I have different partition, such as: sda1, sda2, sda3, md0, md1, md2.
I used the following dd command to copy from one phisical hdd to another:
dd if=/dev/sda of=/dev/sdb conv=noerror,sync
Then I started machine with the new disk, boot process stoped and I got this message:
ddf1: both header signatures bad on
0
 
rindiCommented:
When you boot PartedMagic there are also MDRAID boot modes. Try booting to those modes so that the OS then see's the raided disks. Then image the mdx partitions, not the sdx partitions.

Things you can try when the restored image doesn't boot, is again to start the system with PartedMagic, then open the "Partition Editor" (which is GParted), then select the partition you should boot from, and set the "Boot" Flag to "On".
0
 
CiklumITAuthor Commented:
Unfortunately, any comment wasn't help me. Thanks for attempt. Resolved my issue in another way - unmount mirrored hdd from raid.
0
 
CiklumITAuthor Commented:
Unfortunately, any comment wasn't help me. Thanks for attempt. Resolved my issue in another way - unmount mirrored hdd from raid.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now