Backup and restore postgres database #410
devxpy
announced in
Programming Guide
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
backup
pg_dump --dbname $PGDATABASE --format c -f db.dump
or, from a running docker container in prod:
backups are also run in prod periodically via https://github.com/GooeyAI/caprover-postgres-backup
restore
Beta Was this translation helpful? Give feedback.
All reactions