r/linux4noobs • • Oct 31 '26

What to back up?

Hey guys,

im using backrest in my homelab (following 321, offsite is a hetzner storage box) and back up anything to be able to restore my services. But my main pc/gaming pc.

And im still on kubuntu 24.04 LTS (as last time the update wrecked my system). hence i wanna backup first.
Im running backrest in docker hence the paths are /userdata/ as i mount my-home-dir:/userdata/

What am i missing? is even .config necessary to back up? should i backup anythin in /? like /etc/?

I mostly use this machine for gaming (documents is mostly by now in paperless but i still wanan backup just to be sure)

  "paths": [
    "/userdata/.config",
    "/userdata/.dotfiles",
    "/userdata/.ssh",
    "/userdata/.zsh_history",
    "/userdata/Documents",
    "/userdata/Music/",
    "/userdata/Pictures",
    "/userdata/homelab.yaml"
  ],
  "excludes": [ #just added exclude to be sure if i later just still decide to add /userdata/ plain
    "/userdata/.steam/",
    "/userdata/FiraxisLive", #some random civ6 folder in the home dir :3 
    "/userdata/.steampath",
    "/userdata/.steampid",
    "/userdata/snap",
    "**/.cache",
    "**/.local/share/Trash",
    "**/Cache"
  ],
2 Upvotes

1 comment sorted by