52
What to include in a backup? (Ubuntu)
(lemmy.ml)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
If you don't know, or aren't sure. Backup everything if you have the space. Once you've hit a couple of disaster scenarios, it will become apparent what stuff is really important.
Obviously, the stuff you can't recreate otherwise is most important. But apart from that, even the stuff you can recreate from other sources might be worth backing up because of time savings. E.g. faster to restore from backup than to recreate.
Yup. Step 1 is backup everything. Step 2 is maybe improve your reproducibility and then remove the things that can be reproduced from the backups.
Great advice. For me, it's the irreplaceable data first, and then stuff like configs and credentials/keys.
My borg-backup (to my NAS) config is "My Documents" type files, /etc stuff I'm likely to customise, and home stuff except the stuff like "*Cache", "*Storage", assets/icons/history/recent/blah. It's tedious to fine-tune, but I figure too much is infinitely better than too little.
If I want to be able to do an image-based restore, then I'd use a different tool. But life's too short for that.
Also, while it may be fairly easy to recreate the OS/Application install from scratch that is generally small potatoes storage wise compared to you music/movies/photos etc that you for sure want to back up.