Backing up data with Prisma Postgres

What is the recommended approach for backing up data with Prisma Postgres? Historically I've used pg_dump but after migrating to a Prisma Postgres db, the database url uses an api key instead of a user/pass combo and pg_dump is saying I have an invalid param (api_key)
3 Replies
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
tyler4949
tyler4949OP5d ago
Update: I ended up solving this using a similar approach to the guide of restoring prisma postgres with another postgres db: https://www.prisma.io/docs/getting-started/prisma-postgres/import-from-existing-database-postgresql. I just used pg_dump once the TCP tunnel was started
Nurul
Nurul4d ago
Glad to hear that everything worked as expected 🙏

Did you find this page helpful?