# How to gracefully migrate from sqlite to postgres?

**URL:** <https://community.n8n.io/t/how-to-gracefully-migrate-from-sqlite-to-postgres/2285>\
**Category:** Questions\
**Created:** [September 9, 2020, 1:58pm UTC](https://community.n8n.io/t/how-to-gracefully-migrate-from-sqlite-to-postgres/2285 "2020-09-09T13:58:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry\_Vakhnenko](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dmitry_vakhnenko/32/1682_2.png) [@Dmitry\_Vakhnenko](https://community.n8n.io/u/Dmitry_Vakhnenko)\
**Post date:** [September 9, 2020, 1:58pm UTC](https://community.n8n.io/t/how-to-gracefully-migrate-from-sqlite-to-postgres/2285/1 "2020-09-09T13:58:30Z")

</div>

I have n8n installed, which uses a sqlite database. How can I move to postgresql as easily as possible?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [September 9, 2020, 2:39pm UTC](https://community.n8n.io/t/how-to-gracefully-migrate-from-sqlite-to-postgres/2285/2 "2020-09-09T14:39:42Z")

</div>

There is an issue with almost the same title (without gracefully) from 12 days ago here:

> [@How to migrate from SQLite to PostgreSQL?](http://community.n8n.io/t/how-to-migrate-from-sqlite-to-postgresql/2170/2):
>
> Really great to hear that you and your team enjoys n8n! Sadly do we have currently nothing in place for an easy migration. I however just had a short look online and found this: It looks like it should be possible to migrate the data without to much work.
