# Creating a duplicate of production environment

**URL:** https://meta.discourse.org/t/creating-a-duplicate-of-production-environment/61966
**Category:** Self-hosting
**Created:** [5월 2, 2017, 3:38오후 UTC](https://meta.discourse.org/t/creating-a-duplicate-of-production-environment/61966 "2017-05-02T15:38:05Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [5월 2, 2017, 4:10오후 UTC](https://meta.discourse.org/t/creating-a-duplicate-of-production-environment/61966/6 "2017-05-02T16:10:47Z")

</div>

I think you could do it by changing git head, but I wasn’t smart enough for that. In my case I was close enough to the live site that the restore ran.

Have you seen this:

> [@How do you install an earlier version of Discourse?](https://meta.discourse.org/t/how-do-you-install-an-earlier-version-of-discourse/31930/2):
>
> There should be a version key in your app.yml file. #version: tests-passed Remove the # and change test-passed to the version you want to use; e.g. v1.3.4. [Tags · discourse/discourse · GitHub](https://github.com/discourse/discourse/tags) shows the available version strings.

---

_[View the full topic](https://meta.discourse.org/t/creating-a-duplicate-of-production-environment/61966)._
