# Postgresql problem on moving discourse with rsync

**URL:** <https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771>\
**Category:** Self-hosting\
**Created:** [July 27, 2024, 2:27pm UTC](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771 "2024-07-27T14:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 27, 2024, 8:37pm UTC](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771/4 "2024-07-27T20:37:20Z")

</div>

I would try to install with an empty database and restore it after the site is set up.

I think there might be a minor version difference between your version and the new server so it doesn’t work. Another possibility is that you didn’t shut down the old server before copying the files over.

---

_[View the full topic](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771)._
