bcgov / bcgov/backup-container
Creating a pg_dump for specific tables
Open
- Dominant language
- Shell
- Stars
- 44
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
I want to exclude specific tables for backup, but backup.conf only accepts the list of databases that are assumed to be valid for the backup and dumps all tables in a DB. I'm wondering where I can modify pg_dump command
Contributor guide
Research direction
Start by locating backup.conf and the script or entry point that assembles and runs the pg_dump command. Read how database names are parsed and how dumps are invoked, then determine how specific tables should be represented in the configuration. Done means the requested tables can be excluded from a database backup and the relevant backup behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, shell
- Domain
- databases, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100