Linux - How to make a disk image and restore from it later?

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Asked on 1/9/15, 6:21 AM
0
vote
3962 Views

Option 1) 

It's Clonezilla Live: http://clonezilla.org/

Option 2) 

The "dump" and "restore" backup utilities in the Ubuntu repositories provide you with the ability to backup and recover an entire system's "system state".

The "dump" and "restore" utilities can be installed from the repositories using:

sudo apt-get install dump

Below are links to the Man pages:
Dump
Restore

In your case, you could backup the system to a portable drive:

dump -0uan -f my_file /

For recovery you would need to:

  1. Boot from your Ubuntu live CD/DVD/USB.

  2. Install the dump utility.

  3. Mount your hard drive.

  4. Restore (i.e. restore -r -f my_file /my_mount).

Note: If you are restoring to a new disk you will need to install your bootloader (GRUB).

More information can be found at Move linux to another hard drive (dump, restore, backup)

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Answered on 1/9/15, 6:21 AM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 1/9/15, 6:21 AM
Seen: 3962 times
Last updated: 1/9/15, 6:21 AM