I am trying to dump a schema from Postgres 9.4, running on Cents 6.5, but I get an error:
pg_dump: No matching schemas were found
Here is the command I am running:
pg_dump -U postgres -n "OLD-TODELETE-bushes" --verbose site > output_nf
I am a little confused by this as when I run
select schema_name from information_schema.schemata, I can see the schema name.
If I run pg_dump for all schemas the
OLD-TODELETE-bushes is dumped to file, as expected.
There are no error's in the Postgres logs.
Anyone have any ideas?