[SAC] Backups on the new vms

Hamish hamish_b at yahoo.com
Tue Aug 3 07:11:30 EDT 2010


christopher.schmidt wrote:
> Backing up all of /etc/ on all machines seems a reasonable
> thing to do in my opinion.

fwiw the debian upgrade guide recommends

"The main things you'll want to back up are the contents of /etc,
/var/lib/dpkg, /var/lib/aptitude/pkgstates and the output of
dpkg --get-selections "*" (the quotes are important)."

http://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html#data-backup


--get-selections is nice because you can later pipe that list of packages
back at --set-selections and have it install all the packages back that
were there before in one go.


Hamish



      


More information about the Sac mailing list