This guide shows how to dump schemas and table data from a Shared Postgres database, and restore a dump. If you encounter issues, feel free to contact us for help.Documentation Index
Fetch the complete documentation index at: https://docs.shuttle.dev/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
To run the data upload against the database, you need a Postgres Client. In this guide, we will usepsql.
On Debian/Ubuntu, you can install it with:
Dump database to SQL file
Since the Shared Postgres cluster has strict permissions, runningpg_dump against your connection string is not possible.
Instead, you can use the resource dump command that runs pg_dump with --no-owner --no-privileges for you.
Dumping the database data extracts a copy of all data, and the database is left unmodified.
If you get errors about request limits or timeouts, reach out to us for support.
CREATE TABLE, ALTER TABLE etc, and only keep the table data COPY statements and so on.

