Hi, @ThomasStaPettersen-9231 Welcome to the Microsoft Q&A forum, Thanks for posting your question.
I've been looking into setting up replication manually, but I'm unsure it it's possible with CosmosDB? -
There is no option to set Azure Cosmos DB for PostgreSQL as a replication target
I have a couple of TB of data I need to get move, and taking the database offline for several hours isn't a good option for me. -
You can check pgcopydb: Copy a Postgres database to a target Postgres server (pg_dump | pg_restore on steroids) (github.com), https://github.com/dimitri/pgcopydb
Should I migrate into flexible server first, and then perhaps setup read-replication to cosmosdb? Is that supported by the tools Azure offers? -
We currently have no automated migration path from the Flexible server to Azure CosmosDB for PostgreSQL
Hope this will help. Please let us know if any further queries.
Regards
Geetha
Please don't forget to click on or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer.