How do I back up and restore my data? #112
Unanswered
martinezsalmeron
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Backups are two Docker volumes and nothing else.
pgdata— every record: patients, appointments, budgets, invoices.storage_data— uploaded files (STORAGE_BACKEND=local): images, signed budget PDFs, media.A database dump on its own restores a clinic whose X-rays and signed PDFs are gone, so take both.
Restore goes the other way, into a stack that is up with an empty database:
Two things worth doing regardless of how you automate it:
The volume prefix (
dentalpin_) comes from the directory name Compose runs in — check yours withdocker volume ls.All reactions