Outils du site

() Il se dessine de façon tangible, dans votre génération qui monte, mon camarade, une espèce d'ambition glacée d'arriver par le fric et un mépris cynique de tous les idéaux assez peu compatible avec l'idée qu'on se fait de la jeunesse éternelle génératrice de fougues irréfléchies et de colères gratuites. [Pierre Desproges]

04-linux:10-administration:92-backup

System backup

Dump & Restore

http://askubuntu.com/questions/19901/how-to-make-a-disk-image-and-restore-from-it-later

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).

Rsync

Dernière modification : 2017/10/06 23:40