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

Exclude tables #64

Open
antarr opened this issue Jan 22, 2025 · 1 comment
Open

Exclude tables #64

antarr opened this issue Jan 22, 2025 · 1 comment

Comments

@antarr
Copy link

antarr commented Jan 22, 2025

Is it possible to configure the backup to exclude certain tables?

@vldmr-k
Copy link

vldmr-k commented Feb 6, 2025

Hi @antarr, you can add extra options for pg_data.
Just use PGDUMP_EXTRA_OPTS as environment.
For example PGDUMP_EXTRA_OPTS=--no-sync

In your case
PGDUMP_EXTRA_OPTS= --exclude-table-data=<table>

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

No branches or pull requests

2 participants