• 0 Posts
  • 2 Comments
Joined 2 months ago
cake
Cake day: May 18th, 2025

help-circle
  • dabe@lemmy.ziptoSelfhosted@lemmy.worldDocker Backup Stratagy
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    yeah this is the way. as part of my borgmatic script I bring down all the stacks that have databases, let the backup run, then bring those stacks back up. as long as the containers aren’t running (and as long as the container properly closes itself down, not usually something to be worried about though), any method of data back up should be fine.

    I do this with quadlets and systemd targets now but before I was doing it with a bunch of docker compose down commands.

    It is quite convenient for restoration, as you say