# How to restore a backup of an older version to a fresh install?

**URL:** <https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881>\
**Category:** Self-hosting\
**Created:** [29 Settembre 2016, 8:19pm UTC](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881 "2016-09-29T20:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [29 Settembre 2016, 8:33pm UTC](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881/6 "2016-09-29T20:33:07Z")

</div>

Ok.

SSH to the server, and then:

```plaintext
cd /var/discourse
./launcher enter app
rails c
Discourse.disable_readonly_mode

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881)._
