just System and user data partitions may be backed up and restored independently
We all need to use different strategies that best fit our own situations. I backup my /home/user
directory only, but in that directory is a list of all the installed packages. It's generated by an alias that I created from someone else's post here in the forum. (I wish I could remember whose!) And in case of a disaster, I can restore those packages with another alias. They look like this in my .bashrc
file:
alias copyPackages="eopkg li | cut -d ' ' -f 1 | tr '\n' ' ' > /home/jerry/InstalledPackages"
alias restorePackages='sudo eopkg install $(cat InstalledPackages)'
I run the copyPackages
alias before every backup, and if ever needed, I can re-install all of those with the restorePackages
alias. Configurations are all in my .config
directory, of course, so those are restored along with the rest of the backup. The system files are easily replaced with a quick Solus installation -- just a matter of a few minutes.