I need to reinstall Ubuntu, but it doesn't have anything to do with wanting to clean my system or 'start fresh.' I have my stuff pretty fine tuned, so I want to redo as little as possible.
Ubuntu – How to back up the ubuntu packages/settings/etc so that it can be restored from a clean install
backupinstallation
Best Answer
In brief
$HOME
or whatever partition, logical volumes that contains your personal datadpkg --get-selections > pkg.list
keep the filesudo dpkg --set-selections < /path/to/pkg.list
andsudo apt-get dselect-upgrade
/etc
if you can't remember what changes you have made for tuningYou can use
tar
orrsync
over SSH to a remote host. I personally recommend booting using a USB/DVD Live (e.g. Ubuntu Desktop or System Rescue CD) and do the backup just to avoid file lock issues, always safer;-)