0

How do I call pg_dump from my .NET app engine instance? I use Google Cloud SQL. I need pg_dump to specify specific flags when exporting my database.

Jasper
  • 121
  • 1
  • 2

1 Answers1

0

If you need to set database flags to a Postgres Cloud SQL instance you may follow this guide from the documentation.

According to the documentation, when using pg_dump on a Cloud SQL instance you have to use --no-owner, --format=plain and --no-acl.

Ajordat
  • 135
  • 5
  • Thanks, but i was looking for pg_dump flags. I need to export a single schema, data-only. – Jasper Jun 15 '20 at 14:42
  • I have updated my answer. If that information doesn't suit your needs I will need a better explanation on your use-case in order for me to better understand your issue and help you further. – Ajordat Jun 16 '20 at 09:12