Linux: Backup and restore your system!

gimpe » 28 February 2009 » In linux »

Get root access:
sudo su

To backup:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

To restore:
tar xvpfz backup.tgz -C /

Source: http://ubuntuforums.org/showthread.php?t=35087

To backup on an other mount:
tar cvpzf /mnt/data/backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys /

Tags:

Trackback URL

No Comments on "Linux: Backup and restore your system!"

Hi Stranger, leave a comment:

ALLOWED XHTML TAGS:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Comments