Sample Header Ad - 728x90

pg_dump - how to split it into directories and files?

3 votes
1 answer
1697 views
I am looking for a way to dump PostgreSQL12 database model into a directory/file structure, instead of a single file - for versioning purposes. I found this old thread , which mentions this exact case and describes a --split flag to be used with pg_dump. However, this option does not exist in the current pg_dump for PostgreSQL12. I also tried the option --format=directory but that's not it. How do I achieve this effect?
Asked by Leon PowaƂka (161 rep)
Mar 24, 2021, 12:07 PM
Last activity: Sep 11, 2023, 12:08 AM