KalcodeK
ZITADELโ€ข13mo agoโ€ข
1 reply
Kalcode

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
Was this page helpful?