# 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:** [7 april 2016 om 13:21 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:** 6

<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: [7 april 2016 om 13:59 UTC](https://meta.discourse.org/t/how-to-restore-your-site-from-backup-in-the-terminal/42179/6 "2016-04-07T13:59:41Z")

</div>

> [@fantasticfears](#):
>
> [Install Docker Engine on Ubuntu | Docker Docs](https://docs.docker.com/engine/installation/linux/ubuntulinux/#configure-a-dns-server-for-use-by-docker)

Follow the link. There is a detailed step showing how to do that. (1 - 5)

For step 3, use `DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"` as this suggests:

> [@Failed to Bootstrap Ping is working to github](https://meta.discourse.org/t/failed-to-bootstrap-ping-is-working-to-github/23869/6):
>
> Edit /etc/default/docker and uncomment the following line: DOCKER\_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" After this, restart docker and rebuild. I had the same issue today. The solution is taken from [https://meta.discourse.org/t/afatal-unable-to-access-https-github-com-samsaffron-pups-git-could-not-resolve-host-github-com/18611/7?u=stefan](https://meta.discourse.org/t/afatal-unable-to-access-https-github-com-samsaffron-pups-git-could-not-resolve-host-github-com/18611/7)

---

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