1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/websitev2/docs/deploy/database-backup.md
Christopher Kolstad 406f0554cf
Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00

392 B

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