What file(s) would I need to backup to get a complete snapshot of all installed packages from the distribution I'm using in order to be able to recover a system to it's previous state?