hype-o-thetic?com

my notes

Linux: Backup and restore your system!

leave a comment

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 /

Fork me on GitHub

Written by gimpe

February 28th, 2009 at 9:09 am

Posted in linux

Tagged with

Performance Optimization WordPress Plugins by W3 EDGE