Postgres dump all but one table
Snippet
kitt decided around 14:07 on 30 December 2019 to publish this:
Those versions and logs tables? You don't really want them in the dump. So, don't include them, use --exclude-table
.
pg_dump --exclude-table=TABLE_TO_EXCLUDE $DATABASE_URL
Add new comment