# Import site theme via console

**URL:** <https://meta.discourse.org/t/import-site-theme-via-console/66586>\
**Category:** Product Support\
**Created:** [21.Июль.2017 10:03:14 UTC](https://meta.discourse.org/t/import-site-theme-via-console/66586 "2017-07-21T10:03:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [21.Июль.2017 13:58:25 UTC](https://meta.discourse.org/t/import-site-theme-via-console/66586/2 "2017-07-21T13:58:25Z")

</div>

The theme is stored in the site backup file, so there is no need to do this unless your intent is to be able to create a brand new Discourse with that theme. And if that’s the case, it’s probably easier to just restore a particular backup on those new sites.

You can restore from a backup like this:

```plaintext
cd /var/discourse
./launcher enter app
rails c
SiteSetting.allow_restore=true
exit
discourse restore BACKUPFILENAME

```

---

_[View the full topic](https://meta.discourse.org/t/import-site-theme-via-console/66586)._
