Get root access:
[cci lang="bash"]sudo su[/cci]
To backup:
[cci lang="bash"]tar cvpzf backup.tgz –exclude=/proc –exclude=/lost+found –exclude=/backup.tgz –exclude=/mnt –exclude=/sys /[/cci]
To restore:
[cci lang="bash"]tar xvpfz backup.tgz -C /[/cci]
Source: http://ubuntuforums.org/showthread.php?t=35087
To backup on an other mount:
[cci lang="bash"]tar cvpzf /mnt/data/backup.tgz –exclude=/proc –exclude=/lost+found –exclude=/mnt –exclude=/sys /[/cci]
Posts from ‘February, 2009’
Linux: Backup and restore your system!
Windows Backup using rsync and DeltaCopy
Use DeltaCopy (as rsync server) on the Windows box:
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
You’ll need to open port TCT/873 in your windows firewall.
Note: To fix the accentuated characters issue in the filenames, you can replace the “Cygwin1.dll” in the DeltaCopy directory by a UTF-8 compliant Cygwin dll (http://www.okisoft.co.jp/esc/utf8-cygwin/). Then restart the service or reboot.
And here’s my bash script running on [...]
Ubuntu-Gnome minimal install with “alternate installer”
Use the Ubuntu “alternate installer” disc
At the start menu press F4 and select “Install a commande-line system”
Complete the installation process
After add the gnome-core package and gdm:
[cci lang="bash"]aptitude install gnome-core gdm[/cci]
Voilà!
No more swap partition!
I am now installing Ubuntu without a swap partition and I use a swap file afterward.
Here’s the details from Ubuntu Swap FAQ:
Should I reinstall with more swap?
Definitely no.
With the 2.6 kernel, “a swap file is just as fast as a swap partition.”(Wikipedia:Paging, LKML).
How do I add more swap?
Usually, people associate swap with a swap partition, [...]

