Preparing your HM-managed destination database Innovation Release

Prepare an HM-managed database cluster to serve as the destination for your migration.

Preparing for large object (LO) migration

If you're migrating Postgres large objects (LO_SNAPSHOT_ENABLED=true), the destination needs a role matching each role that owns a large object on the source, so the migration can preserve ownership. This applies even though HM manages the destination for you otherwise.

  1. On the source database, find which roles own large objects:

    SELECT DISTINCT lomowner::regrole FROM pg_largeobject_metadata;
  2. Using Quick Connect to reach your destination cluster, create a role with the same name for each one returned:

    CREATE ROLE <role_name>;

    This role doesn't need LOGIN privileges or any grants — it only needs to exist so the writer can assign large object ownership.

Next step

Migrate schemas