Files
unleash/website/docs/deploy/database-backup.md
T
2021-10-26 11:25:19 +02:00

392 B

id, title
id title
database_backup Database Backup

When upgrading to a new major version of Unleash, we advise to do a full database backup to ease rollback in case of failures.

  1. Create a database backup:
pg_dump --clean -U unleash_user -W -h localhost unleash > unleash-db.dump

  1. Restore from a backup:
psql -U unleash_user -W -h localhost unleash < unleash-db.dump