Postgres dump all but one table
Snippet
Instead of being asleep at 14:07 on 30 December 2019, kitt created 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