# How to restore your site from backup in the terminal?

**URL:** <https://meta.discourse.org/t/how-to-restore-your-site-from-backup-in-the-terminal/42179>\
**Category:** Self-hosting\
**Created:** [April 7, 2016, 1:21pm UTC](https://meta.discourse.org/t/how-to-restore-your-site-from-backup-in-the-terminal/42179 "2016-04-07T13:21:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)\
**Post date:** [April 7, 2016, 1:42pm UTC](https://meta.discourse.org/t/how-to-restore-your-site-from-backup-in-the-terminal/42179/2 "2016-04-07T13:42:27Z")

</div>

> [@Ankhamax](#):
>
> ERROR: While executing gem … (Gem::RemoteFetcher::UnknownHostError)

This is the error which leads to a DNS error in the container.

Do you try to set DNS servers for Docker?

> **[Install Docker Engine on Ubuntu](https://docs.docker.com/engine/install/ubuntu/)**
>
> Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.

If the answer is yes, and the problem remains, check `/etc/hosts` to make sure everything is fine there.

If the problem still remains, call your server provider for help. It’s their responsibility for maintaining the network.

---

_[View the full topic](https://meta.discourse.org/t/how-to-restore-your-site-from-backup-in-the-terminal/42179)._
