Hello there! Here's the thing: I got some old HDD for my Debian home server, and now that I have plenty of disk space I want to keep a backup of the OS, so that if something accidentally breaks (either SW or HW) I can quickly fix it.

now the question is: which directory should I include and which should I exclude from the backup? I use docker a lot, is there any docker-specific directory that I should back up?

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago

Don't forget to grab any /etc configurations you've made to adapt the system to your hardware or services. You don't need all of /etc, just whatever you've changed to not be default.

  • source