you can do in terminal
# dpkg --get-selections > ~/installed.packages.txt
and you have a list ( just a list ) of all packages installed in your system
Then in case of restore you just have to do
# dpkg --set-selections < ~/installed.packages.txt
to select all packages for installing