Postgres dump all but one table
Snippet
Written with a loving hand by kitt some time around 14:07 on 30 December 2019
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