I’m going to mention Ansible as I haven’t seen it mentioned, and it can be used to locally manage a reproducible build.
It has already been mentioned, but as a minimum to replicate your system you need two things:
Transfer/copy your entire /home directory as there is where the majority of the configuration files of your system pertaining the software you use (there could be configs you could need on /etc and on /usr/local or other dir), that is why it is recommended to partition your disk on installation of your distro, so the /home directory is already separated, as if you reinstall in the same machine you don’t lose any configuration in addition to your personal documents/pictures/etc
Have a way to automatically install a list of programs/apps/drivers/libraries, and that is what something like a bash script, Ansible, nixOs, etc. could help you with.
The truth is that using any of the tools in the second point requires learning a bunch, so if your skill level is still not there, there is some work to do to get there.
I’m going to mention
Ansible
as I haven’t seen it mentioned, and it can be used to locally manage a reproducible build.It has already been mentioned, but as a minimum to replicate your system you need two things:
/home
directory as there is where the majority of the configuration files of your system pertaining the software you use (there could be configs you could need on/etc
and on/usr/local
or other dir), that is why it is recommended to partition your disk on installation of your distro, so the/home
directory is already separated, as if you reinstall in the same machine you don’t lose any configuration in addition to your personal documents/pictures/etcThe truth is that using any of the tools in the second point requires learning a bunch, so if your skill level is still not there, there is some work to do to get there.