Skip to content

Instantly share code, notes, and snippets.

@snim2
Created August 6, 2010 16:51
Show Gist options
  • Select an option

  • Save snim2/511608 to your computer and use it in GitHub Desktop.

Select an option

Save snim2/511608 to your computer and use it in GitHub Desktop.
How to backup / restore a Debian based Linux system, used, for example, when moving to a new machine
$ dpkg --get-selections > ~/Dropbox/installed-packages.log
$ sudo dpkg --set-selections < ~/Dropbox/installed-packages.log
$ sudo apt-get install dselect
$ sudo dselect # Press 'i' then 'enter' to install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment