mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
1d9065aff1
Co-authored-by: Christopher Kolstad <chriswk@fastmail.com> Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com> Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com> Co-authored-by: Eco C <egilconr@gmail.com>
392 B
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.
- Create a database backup:
pg_dump --clean -U unleash_user -W -h localhost unleash > unleash-db.dump
- Restore from a backup:
psql -U unleash_user -W -h localhost unleash < unleash-db.dump