Migrate Postgres data to shuttle.dev
psql
.
On Debian/Ubuntu, you can install it with:
psql
versions older than 16 might not work.pg_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.
CREATE TABLE
, ALTER TABLE
etc, and only keep the table data COPY
statements and so on.