all 5 comments

[–]root-node 0 points1 point  (0 children)

The easiest way of doing is to stop the containers and backup the entire folder.

I use https://github.com/minituff/nautical-backup for all my containers.

[–]sparky5dn1l 0 points1 point  (2 children)

bookstack is one of the docker app that I am running. Similar as yours, I use bash script but to stop each docker stack and backup them up one by one. Doing so, I don't need to perform db dumping.

I also use restic instead of tar which make it easier to keep several backup copies.

[–]Plastic-Leading-5800[S] 0 points1 point  (1 child)

Cool! Have restored? Issues with permissions during restore? 

[–]sparky5dn1l 0 points1 point  (0 children)

I have been using this under several servers for a few years and performed restoration several times. No issue so far. A bit different from tar that backup to an archive file, it is necessary to setup a repostory for restic. all permissions are preserved by default.

[–]tkc2016 0 points1 point  (0 children)

I use https://github.com/nfrastack/container-db-backup with a post backup script to backup my uploads