Hello. I would like to backup my data for Ubuntu 16.04, and not only my user files. I've installed a pretty good amount of software from both the terminal and Ubuntu Software center. I remember installing git, cmatrix, terminator, conky, and some other packages, but I can't remember which ones exactly. Also I changed some configuration files for my programs, such as .bashrc, both for the default programs, and new ones that I installed. I would like to save all my programs and settings that I changed after setting up the OS for the first time, to a USB storage device. That way, if I would ever have to do a re-install of the OS, I could just copy those files in.
Now I'm thinking about where those program files and configuration files could be. My / directory has the following sub-directories:
bin dev initrd.img lib64 mnt root snap tmp vmlinuz boot etc initrd.img.old lost+found opt run srv usr vmlinuz.old cdrom home lib media proc sbin sys var
Which of these folders should I copy over to backup my system programs, files, and settings? I think that bin should be included in the list, because it has all the commands for the OS, and I installed some new ones, so they may have been added to bin. The folder etc should also be included, because it contains the configuration files. Other folders that I would copy over are home, lib, lib64, opt, usr. Are those folders sufficient enough for a backup? If for example, I would reinstall the OS, if I would restore the copied folders, would that return the Linux system to its desired state?
Edited by BlueGalaxy, 10 August 2017 - 09:42 PM.