# 网站在备份后宕机

**URL:** https://meta.discourse.org/t/site-went-down-after-taking-backup/82541
**Category:** Support
**Created:** [2018年三月8日 19:13 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541 "2018-03-08T19:13:32Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:13 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/1 "2018-03-08T19:13:32Z")

</div>

Hello,

I took backup, now my site down. What may be possible reason?

Cloudflare said - Connection timed out. So, I disabled Cloudflare.

Now, Browser says - This site can’t be reached

Thanks & Regards,  
Gulshan

---

<div class="post-metadata">

### Author: ![dje4321](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dje4321/32/78454_2.png) [@dje4321](https://meta.discourse.org/u/dje4321)
#### Post date: [2018年三月8日 19:15 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/2 "2018-03-08T19:15:07Z")

</div>

Possible things that might be wrong.

Is there anything in the logs?  
Have you tried restarting discourse?  
Is the backup still going on?

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:20 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/3 "2018-03-08T19:20:15Z")

</div>

> [@dje4321](#):
>
> Is there anything in the logs?

Please see, this is from `admin/backups/logs` page.  
[https://dl.dropboxusercontent.com/s/kyn77h5sybi41xn/backup-logs.txt](https://dl.dropboxusercontent.com/s/kyn77h5sybi41xn/backup-logs.txt)

> [@dje4321](#):
>
> Have you tried restarting discourse?

How to do that? Please tell me.

> [@dje4321](#):
>
> Is the backup still going on?

I guess, no. Just site went down.

---

<div class="post-metadata">

### Author: ![dje4321](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dje4321/32/78454_2.png) [@dje4321](https://meta.discourse.org/u/dje4321)
#### Post date: [2018年三月8日 19:22 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/4 "2018-03-08T19:22:52Z")

</div>

Are you using some kind of discourse hosting provider by chance?

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:24 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/5 "2018-03-08T19:24:32Z")

</div>

Before site went down - I received “The backup was successful.” message.

…

Site went up, now after few minutes (approximately 12 minutes)

I see site is up automatically, and again I received same push notification that “The backup was successful.”

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2018年三月8日 19:26 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/6 "2018-03-08T19:26:32Z")

</div>

您能告诉我们您使用的是哪种配置吗？

- [Communiteq](https://www.communiteq.com)（原 DiscourseHosting）？
- 自托管？
- 您是否使用了 pgbouncer？

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:27 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/7 "2018-03-08T19:27:29Z")

</div>

I am using self-hosted.

---

<div class="post-metadata">

### Author: ![dje4321](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dje4321/32/78454_2.png) [@dje4321](https://meta.discourse.org/u/dje4321)
#### Post date: [2018年三月8日 19:29 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/8 "2018-03-08T19:29:37Z")

</div>

you should be able to restart it by sshing into the server where discourse is being hosted and cd into `/var/discourse`. if discourse is installed elsewhere than cd into where its installed

run this to restart discourse  
`sudo ./launcher restart app`  
app may or may not be the name of the discourse image. just replace it with whatever you used.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:31 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/9 "2018-03-08T19:31:14Z")

</div>

> [@Gulshan\_Kumar](#):
>
> Site went up, now after few minutes (approximately 12 minutes)

Now it is up. Sorry, in bit hurry up panic moment, I wrote down, instead of up.

Now it is okay. Thanks for the response.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:33 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/10 "2018-03-08T19:33:33Z")

</div>

I also received today Upgrade message, should I do? Will I have to face any downtime?

---

<div class="post-metadata">

### Author: ![dje4321](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dje4321/32/78454_2.png) [@dje4321](https://meta.discourse.org/u/dje4321)
#### Post date: [2018年三月8日 19:35 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/11 "2018-03-08T19:35:19Z")

</div>

to upgrade just goto /admin/upgrade and click upgrade.

Downtime is minimal.

---

<div class="post-metadata">

### Author: ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)
#### Post date: [2018年三月8日 19:36 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/12 "2018-03-08T19:36:05Z")

</div>

Is this process automated like we do in WordPress? or I have to do anything extra after clicking on Updrade? I am afraid.

---

<div class="post-metadata">

### Author: ![dje4321](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dje4321/32/78454_2.png) [@dje4321](https://meta.discourse.org/u/dje4321)
#### Post date: [2018年三月8日 20:15 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/13 "2018-03-08T20:15:29Z")

</div>

its almost entriely automated. there is one extra click that just confirms that you want to upgrade

there is no need to worry. Nothing should go wrong

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年六月8日 12:37 UTC](https://meta.discourse.org/t/site-went-down-after-taking-backup/82541/14 "2024-06-08T12:37:47Z")

</div>

此主题已在 2283 天后自动关闭。不再允许回复。
