# Sandbox and test discourse on host?

**URL:** <https://meta.discourse.org/t/sandbox-and-test-discourse-on-host/53625>\
**Category:** Product Support\
**Created:** [December 1, 2016, 12:13pm UTC](https://meta.discourse.org/t/sandbox-and-test-discourse-on-host/53625 "2016-12-01T12:13:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [December 1, 2016, 12:50pm UTC](https://meta.discourse.org/t/sandbox-and-test-discourse-on-host/53625/4 "2016-12-01T12:50:44Z")

</div>

> [@Pad\_Pors](#):
>
> how do I make the database temporary? so that every 24 hours or so, it gets refreshed.

There are probably several different ways to do this.

One way is to just spin up a new discourse instance every 24 hours and just swap the old ip with the new ip in the reverse proxy config, then delete the old discourse server.

Another way is to save a backup of the database and just re import that version of the db every 24 hours.

---

_[View the full topic](https://meta.discourse.org/t/sandbox-and-test-discourse-on-host/53625)._
