I have a Linode with Ubuntu installed. The machine is used for things like web sites and Minecraft.
I would like to create a complete 'offline' copy of the server to test some new packages and upgrades of current packages. I would want to place this copy into a VirtualBox VM.
Data is less important (e.g. user files, web sites, Minecraft worlds, etc), but I would very much like to be able to copy configuration (web site configs, packages installed, etc).
Is this possible? I feel that there might be an easy way to get the same packages installed across two systems (obtain a list of installed packages and feed this into an installing system), but perhaps it may be more difficult to get the config files (stuffs found in /etc for example) - perhaps difficult is wrong, perhaps more manual is a better description.