Menu

How MyGround backs up app databases: six dumps, not file copies
πŸ“°

How MyGround backs up app databases: six dumps, not file copies

DEV Community: dockerΒ·borodutch.eth πŸ’ŽπŸ€²Β·6 days ago
#JEmOpXaZ
#devtodocker#devto#dev#dump#database
Reading 0:00
15s threshold

MyGround does not copy a running database's files when it backs up an app. For six of its 40 catalog apps (Immich, Nextcloud, Paperless-ngx, Firefly III, Kaneo and Penpot) it asks the database container for a dump with pg_dumpall or mariadb-dump , puts that dump into the restic snapshot instead of the raw data directory, and replays it on restore. For the apps that keep their data as plain files or in SQLite, it copies the files. This post shows how that works in the code, which apps it covers, and which ones it doesn't.

Everything below was read from the MyGround repository at commit 3209dcf (version 0.1.112) on 2026-11-10.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.