# How to backup Discourse + Database from Console?

**URL:** <https://meta.discourse.org/t/how-to-backup-discourse-database-from-console/54169>\
**Category:** Support\
**Created:** [12월 13, 2016, 9:24오전 UTC](https://meta.discourse.org/t/how-to-backup-discourse-database-from-console/54169 "2016-12-13T09:24:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Lutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lutz/32/65103_2.png) [@Lutz](https://meta.discourse.org/u/Lutz)\
**Post date:** [12월 13, 2016, 9:24오전 UTC](https://meta.discourse.org/t/how-to-backup-discourse-database-from-console/54169/1 "2016-12-13T09:24:04Z")

</div>

Let’s say I want to try a new version of Discourse. For safety reasons I would like to backup everything, so I can do a easy roll-back to the last version. I generally do a “git pull && ./launcher rebuild app” to get the new versions.I only run discourse at my docker installation.

Is it enough enough to stop discourse, tar everything from /var/discourse and /var/lib/docker? Is there a better solution, maybe with docker commands?

---

_[View the full topic](https://meta.discourse.org/t/how-to-backup-discourse-database-from-console/54169)._
