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 theshared_preload_libraries
variable.
- Must include
sudo tar cf - ./stackgres-h-data | pv | pigz -9 -p 32 > stackgres-h-data.tar.gz