Right now I’m creating a nightly restic snapshot of my server on borgbase and on some spare drives, and keeping the snapshots forever. There’s a ton of daily churn in my data though, between databases and logs and other files that don’t constitute ‘real data’ but might be needed to restore the app.

  • JustARaccoon@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    7 backups, though the frequency they’re taken (daily Vs weekly Vs monthly) depends on the service.

    Why don’t you exclude logs from your backups? databases sure yes that’s where the real info is (not sure why you don’t consider it real data) but logs are useless outside of the current running instance.

    • gwheel@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      I didn’t really want to poke through each containers files to figure out where it stores logs, plus it adds risk that I’m not backing up something I should.

      When I say databases aren’t real data, I’m more talking about them changing every day despite nothing happening. Even if I haven’t taken any photos or opened the app, today’s db dump of immich is not the same as yesterday’s db dump so restic stores it as a new unique file.

      • JustARaccoon@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        I did mean to ask, why restic into Borg instead of just Borg?

        on the logs thing that’s fair enough, most of the stuff I use has a clear “logs” folder I can exclude, and I checked what the backup contains Vs what the container data folder has before calling it a day