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.
Implement a feature that allows to filter TOC Entries via
restoreconfig.For now you can achive it via
pg_restore -L/pg_restire -l. This requires to usegreenmask --config config.yml show-dump latestto get all entiries, filter them (e.g. bash commands) and only then rungreenmask 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.