Ubuntu: Recommended total system backup solution [closed]



Question:

I already searched a bit around the answers here, but nothing satisfied me. I want a back-up solution that makes a total back-up, so that I can restore my Ubuntu system in case of major failures, like HDD failing.

As far as I can see, I have 2 choices:

  1. Backing up with Deja Dup to an external disk. This is fine and I am already doing it, but in case my HDD fails, and I make a new Ubuntu install on a new disk, will Deja Dup be able to restore all my settings and stuff from the backed up files? If it can, then what other files/folders should I add in Deja Dup to back-up? Currently I have set only the recommended /home folder. Is there a point in telling Deja Dup to back-up everything under "/" ?

  2. Disk/partition cloning software. This would be something similar to Norton ghost. Is there software like this with a nice GUI that you could recommend for Ubuntu? And even better, it would be nice if Ubuntu's liveCD could recognize such a clone at install step.

I am using 11.10.


Solution:1

I hope you have lots of free space, and that free space is highly available. In a Debian system, you really only need to back up what's in /home and perhaps /etc. Then you can get a list of all packages installed like so:

dpkg --get-selections > installed-software  

and to restore:

dpkg --set-selections < installed-software && dselect  

Deja-dup, or just using duplicity directly should suit your needs and save you a ton of space compared to saving binary copies of your HD. It'll be faster too.

6/19/2013 I've written detailed instructions on how to automate duplicity (crontab) and use passphrase protected gpg encryption.


Solution:2

I have just restored a system, myself. I am a newbie to Ubuntu, but I have learned a lot and I am a fan of multi-partitions.

Backing up /etc; well I don't know, but having a record of 'fstab' is essential and during the re-installation, remembering to only format the / partition is also important. As a result of having a mount point at /home/my-namefor my data partition, the most important thing that I discovered as a direct result of the re-install, was the need to immediately revert fstab. This required a reboot following the system installation, (just like "Windows"),as I was unable to invoke gedit from the command line straight away.

The benefit is avoiding the need to restore to /home/my-name. It is enough of a chore having to re-install all the previously installed programs.

To be doubly safe a monthly clone of the entire hard drive is good. 'dd' leaves you hanging in space without a clue as to what is going on. 'DDRESCUE' keeps you informed. I shall take a look at 'Clonezilla'. Backups with deja dup however, seem to restore data just fine.


Solution:3

Professionally, we use Clonezilla to do full disk and partition clones. It can image the disk to an external USB, SFTP, or NFS shares. It compresses the image and in some cases is able to do partition resizing based upon disk size.

http://clonezilla.org/


Solution:4

you need remastersys, it backs up everything, all installed apps, the whole lot. back in time or deja dup are good, but to get YOUR system back the way you had it, remastersys is great for backing up your system

get it here http://www.geekconnection.org/remastersys/

be sure to read the guides and you cant go wrong


Solution:5

There is also a command line tool called dd

This will copy everything byte for byte, even the uuid (which you would have to change if you wanted to have them both bootable at the same time).

There are disk/partition cloning instructions here

In my experience, doing this every so often keeps a solid backup of your system, and when you want to revert I just format the newer partition and copy my backup back in.


Solution:6

Are you looking for a Disk/partition cloning software like Norton Ghost with a nice GUI? Use Redo!

Is open, very easy, partitioning and other tools included and you can surf the web while you clone, back up or restore your disk/partition


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »