Skip to content

Cloud SQL

Database migration

Rrerequisites

  • PostgreSQL source:
    • Must include postgres database. If don’t have this db, create it.
    • The pglogical library must be installed on the source and included in the shared_preload_libraries variable.
Terminal window
sudo tar cf - ./stackgres-h-data | pv | pigz -9 -p 32 > stackgres-h-data.tar.gz