[CoLoCo] Notebook drive

Scott Scriven ubuntu-us-co at toykeeper.net
Mon Oct 6 21:32:45 BST 2008


* Kevin Fries <kfries at cctus.com> wrote:
> 1) issue a 'dpkg --get-selections' command and redirect that to 
> a file on your backup medium (or /etc).  This will store the 
> list of all programs you installed via apt-get

This works, but tends to show me all installed packages -- not 
just the ones I actually care about.  So I prefer to use 
debfoster instead.  (and back up /var/lib/debfoster/keepers )

> 2) back up you /etc folder

Definitely.

> (Also, /var/www if you are serving web pages; or /var/mail if 
> you have a local mail server)

It's often a good idea to back up all of /var.  And even then, 
don't forget to dump your databases if you have any.

Other dirs to consider backing up (if you do only partial 
backups) are /usr/local, /root, /srv, and /opt, depending on your 
distro and config.


-- Scott



More information about the Ubuntu-us-co mailing list