Kalcode
Kalcode•8mo ago

Restoring backup DB doesn't work

When I pg_dump Zitadel and psql zitadel < backup.sql and boot it can't start as X already exists and fails migration. I guess I thought they'd be inside the DB I dumped 🤔. Use case, in case there a better solution: For local development zitadel included in the stack, so when I wipe the stack and DB yo start over I want to restore back to a point I was at in Zitadel, rather than resetup the org, project, app and actions. Thanks
1 Reply
Kalcode
KalcodeOP•8mo ago
ZITADEL Docs
Import data on an instance level to ZITADEL. It can be either directly in the request or you can point to a file on an S3 storage, from which the data should be loaded.
GitHub
Transfer all data between instances · Issue #3856 · zitadel/zitadel
As an admin, I want to transfer my data from one instance to another, so that I save time in transferring data between eg. a test and staging environment. Given I have an instance A for development...

Did you find this page helpful?