# Migrate from 	13.0.1 to 22

**URL:** <https://forum.keycloak.org/t/migrate-from-13-0-1-to-22/23425>\
**Category:** Tips and tricks\
**Created:** [November 22, 2023, 2:01pm UTC](https://forum.keycloak.org/t/migrate-from-13-0-1-to-22/23425 "2023-11-22T14:01:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanacorea](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/sanacorea/32/9793_2.png) [@sanacorea](https://forum.keycloak.org/u/sanacorea)\
**Post date:** [November 22, 2023, 2:01pm UTC](https://forum.keycloak.org/t/migrate-from-13-0-1-to-22/23425/1 "2023-11-22T14:01:59Z")

</div>

Hello!  
I have inherited a server running Keycloak version 13.0.1. This server is currently in production and has multiple realms, clients, roles, and users. What advice would you give me to successfully migrate to version 22?

---

<div class="post-metadata">

**Author:** ![sirishkumar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/sirishkumar/32/6459_2.png) [@sirishkumar](https://forum.keycloak.org/u/sirishkumar)\
**Post date:** [November 22, 2023, 3:53pm UTC](https://forum.keycloak.org/t/migrate-from-13-0-1-to-22/23425/2 "2023-11-22T15:53:13Z")

</div>

May be the discussion [Upgrade Keycloak from 15.1.1 to 19.02 on Kubernetes with AWS RDS(Postgres) · keycloak/keycloak · Discussion #14682 · GitHub](https://github.com/keycloak/keycloak/discussions/14682) on Keycloak GitHub helps

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [November 22, 2023, 6:17pm UTC](https://forum.keycloak.org/t/migrate-from-13-0-1-to-22/23425/3 "2023-11-22T18:17:44Z")

</div>

It’s been posted a lot here, but I’ll suggest it again: Back up all your data and load onto a dev instance running the current version (`13.0.1`) with the configuration the same as your prod instance. Attempt to upgrade directly to `22`. If it doesn’t work, upgrade one major version at a time (preferring the last minor version for each major version). This should help you avoid or isolate problems associated with trying to “skip” a large number of versions. If you encounter specific problems during that process, please post here.
