Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding Tables #23

Open
nsaud01 opened this issue Feb 15, 2022 · 5 comments
Open

Excluding Tables #23

nsaud01 opened this issue Feb 15, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@nsaud01
Copy link

nsaud01 commented Feb 15, 2022

Is it possible to exclude certain tables from being included in the dump?

@imreACTmd
Copy link
Collaborator

Not possible in the current release.

@rap2hpoutre rap2hpoutre added the enhancement New feature or request label Mar 6, 2022
@rap2hpoutre
Copy link
Owner

Hi @nsaud01 ! Thank you for your suggestion. I keep your issue open since it could be considered an interesting feature for a future release.

@stevenmasci
Copy link

This is now possible thanks to #26

Just append -T table_name to exclude the table from the dump.

@FlyCodeine
Copy link

How do I exclude multiple tables? I tried separating them with a comma, but it threw a
pg_dump command error: pg_dump:

@jackall3n
Copy link
Contributor

How do I exclude multiple tables? I tried separating them with a comma, but it threw a pg_dump command error: pg_dump:

You can send multiple arguments: pg_dump [db] -T [table1] -T [table2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants