# Move a Discourse site to another VPS with rsync

**URL:** https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812
**Category:** Sysadmins
**Tags:** migrations, how-to
**Created:** [May 6, 2016, 8:21pm UTC](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812 "2016-05-06T20:21:38Z")
**Posts on this page:** 1
**Showing post:** 56

<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: [August 17, 2025, 1:51pm UTC](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812/56 "2025-08-17T13:51:04Z")

</div>

This is more hand-waiving than actual help, but here are a couple of ideas.

First, now that you know what index is broken, you can reindex just that one and not every index in the database. You might ask [https://ask.discourse.com/](https://ask.discourse.com/) for a hint for how to do that.

[Corrupt indexes in PG12, how do I fix? - #11 by sam](https://meta.discourse.org/t/corrupt-indexes-in-pg12-how-do-i-fix/152570/11) also has some hints.

Since you don’t care that much about this link tracking (and I guess a new one has been created anyway), just deleting the duplicates is fine.

There should be a way to do a query that will find the duplicates so you could delete them all at once.

---

_[View the full topic](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812)._
