Of course. pg_dump allows you to pass a list of tables with a parameter-t
To eliminate some doubts. True, the parameter -t
accepts only one pattern. But this pattern is very similar to regex, so if you want to dump tables A, B and C, you can do:
pg_dump -t '(A|B|C)'
source
share