Skip to content

[feat] Filter TOC entries in greenmask restore command #412

@wwoytenko

Description

@wwoytenko

Implement a feature that allows to filter TOC Entries via restore config.

For now you can achive it via pg_restore -L / pg_restire -l. This requires to use greenmask --config config.yml show-dump latest to get all entiries, filter them (e.g. bash commands) and only then run greenmask restore --use-list file.lst latest. This could be simplified by providing a filters definition that can filter out some TOC entries.

Consider a config structure that could provide a simple UX.

Metadata

Metadata

Assignees

Labels

v0.2Planned for v0.2.x version
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions