# How to restore backup tar.gz file from console command?

**URL:** https://meta.discourse.org/t/how-to-restore-backup-tar-gz-file-from-console-command/44940
**Category:** Support
**Created:** [28.Май.2016 10:54:12 UTC](https://meta.discourse.org/t/how-to-restore-backup-tar-gz-file-from-console-command/44940 "2016-05-28T10:54:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [28.Май.2016 11:13:24 UTC](https://meta.discourse.org/t/how-to-restore-backup-tar-gz-file-from-console-command/44940/2 "2016-05-28T11:13:24Z")

</div>

You can find your answer

> [@Is there any way to restore your site from backup in the terminal?](https://meta.discourse.org/t/is-there-any-way-to-restore-your-site-from-backup-in-the-terminal/42377/2):
>
> Yes. They’re stored in public/backups/default/. Just run the following command (in the discourse directory) script/discourse restore \<filename.of.the.backup.tar.gz\>

Full command line :

`cd /var/discourse`  
`./launcher enter app`  
`discourse restore <filename.of.the.backup.tar.gz>`

---

_[View the full topic](https://meta.discourse.org/t/how-to-restore-backup-tar-gz-file-from-console-command/44940)._
