We are migrating from Google-Cloud PGSQL managed database to a managed PGSQL server on Digital ocean.
The dilemma we are facing is that both Google and Digital ocean are managed so we have no access to directories so we can't dump then restore. So how would we go about this? Is there a command that copies the data directly from Google-Cloud PGSQL to Digital ocean?
Digital oceans resources assume we have access to a directory.
pg_dump
andpg_restore
, no need to have access to directories of managed services. Do installPostgreSQL
binaries in any VM's like local machine or EC2, Droplets and from there do as digitalocean.com/docs/databases/postgresql/how-to/…-Fc
and-j #.
and this is an efficient way to do migrate for managed services since we don't have access to thedirectory.
norpg_dumpall
.