Scripts for exporting and importing Postgres databases from Miki configuration.
- pg_dump
- pg_restore
To export to the file /tmp/dump.pg
, run:
pgadm -Ef /tmp/dump.pg
To import from the file /tmp/dump.pg
, run:
pgadm -If /tmp/dump.pg
To display usage summary, run:
pgadm --help