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