# Replication between two Postgres Cluster with different versions

**URL:** <https://forums.percona.com/t/replication-between-two-postgres-cluster-with-different-versions/35970>\
**Category:** PostgreSQL\
**Created:** [January 5, 2025, 9:14am UTC](https://forums.percona.com/t/replication-between-two-postgres-cluster-with-different-versions/35970 "2025-01-05T09:14:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viktor\_Kucher](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/viktor_kucher/32/8540_2.png) [@Viktor\_Kucher](https://forums.percona.com/u/Viktor_Kucher)\
**Post date:** [January 5, 2025, 9:14am UTC](https://forums.percona.com/t/replication-between-two-postgres-cluster-with-different-versions/35970/1 "2025-01-05T09:14:12Z")

</div>

I have two Percona PostgreSQL clusters deployed on different Kubernetes clusters:

1. The first cluster uses Percona Operator v1.1 and PostgreSQL 14.1.
2. The second cluster uses Percona Operator v2.5 and PostgreSQL 16.3.

I need to set up data replication from the first cluster to the second. Could you please advise on the best approach to achieve this?

---

<div class="post-metadata">

**Author:** ![mateusz.henicz](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mateusz.henicz/32/6935_2.png) [@mateusz.henicz](https://forums.percona.com/u/mateusz.henicz)\
**Post date:** [January 7, 2025, 10:48am UTC](https://forums.percona.com/t/replication-between-two-postgres-cluster-with-different-versions/35970/2 "2025-01-07T10:48:19Z")

</div>

Hello,  
The only option to setup replication from postgres 14 to 16 is logical replication.  
Please take a look at blog post:

> **[Replication Between PostgreSQL Versions Using Logical Replication](https://www.percona.com/blog/replication-between-postgresql-versions-using-logical-replication/)**
>
> When you need to upgrade PostgreSQL, there are a variety of approaches that you can use. To avoid application downtime, then not all of the options to upgrade postgres are suitable. When avoiding downtime is essential, then you might consider using...

If you have any further questions do not hesitate to ask.  
Cheers,  
Mateusz

---

<div class="post-metadata">

**Author:** ![Viktor\_Kucher](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/viktor_kucher/32/8540_2.png) [@Viktor\_Kucher](https://forums.percona.com/u/Viktor_Kucher)\
**Post date:** [January 7, 2025, 7:19pm UTC](https://forums.percona.com/t/replication-between-two-postgres-cluster-with-different-versions/35970/3 "2025-01-07T19:19:02Z")

</div>

Thanks for information
