Skip to content

Support exposing database port to docker host #1066

Answered by szaimen
gclawes asked this question in Ideas
Discussion options

You must be logged in to vote

Hm... I would always recommend to stop the containers of AIO correctly before doing any backup externally. This has the advantage that AIO will also create a database dump automatically upon container shut down and you do not need to do it manually. See https://github.com/nextcloud/all-in-one#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally on how to stop the containers and start them again.

I guess you should be able to use this feature of borgmatic to run a shell script or shell command before and after the backup.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@gclawes
Comment options

@gclawes
Comment options

@Zoey2936
Comment options

@Zoey2936
Comment options

@gclawes
Comment options

Answer selected by szaimen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants