Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

That is straightforward, and if you recovered nextcloud like that it does say something about the robustness!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Dunno how I missed that in borgmatic, and I see autorestic also has “hooks” but with no database-specific examples. So I can build out what would be in a long ass script just in a long ass borgmatic/autorestic yml!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Thanks for taking the time to upload the whole thing!! This is pretty cool because it moves the backup work straight into the container with the db

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Would you mind pastebin-ing your docker image creator file? I have no experience cooking up my own docker image.

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Thorough, thanks! I see you and some others are using “asynchronous” backups where the databases backup on a schedule and the backup program does its thing on its own time. That might actually be the best way!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

I’m coming from rsync too, hoping for the same good stuff

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

It’s gon b long ass backup script I think!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Good to know if I need to just throw the running database into borg/restic there’s a chance it’ll come out ok! Def not a dummy, I only found out databases may not like being backed up while running through someone mentioning it offhandedly

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Not a bad idea for a hybrid thing, especially people seem to say that a running database backup at least some of the time most of the time with no special shutdown/export effort is readable. And the dedupe stats are really impressive

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

That is nicely expandable with my docker_compose files, thanks for the find!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Thanks for the incantation! Its looking like something like this is gonna be the way to do it

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

So you’re saying you dump on a sched to a <place> and then just let your restic backup pick it up asynchronously?

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

That’s wild and cool - don’t have that architecture now but… next time

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

Love the detail, thanks!!

glizzyguzzler, to selfhosted in How do y'all backup docker databases with backup programs like Borg/Restic?
@glizzyguzzler@lemmy.blahaj.zone avatar

As far as I know (unless smarter people know), you need a “long ass backup script” to make your own fun on a set schedule. Autorestic and borgmatic are smooth but don’t seem to have the granularity to deal with it. (Unless smarter people know how to make them do, which I may be fishing for lol)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines