# Discourse failed to backup, how to debug?

**URL:** <https://meta.discourse.org/t/discourse-failed-to-backup-how-to-debug/52217>\
**Category:** Product Support\
**Created:** [29 Ottobre 2016, 11:05pm UTC](https://meta.discourse.org/t/discourse-failed-to-backup-how-to-debug/52217 "2016-10-29T23:05:28Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![leomakkinje](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomakkinje/32/63366_2.png) [@leomakkinje](https://meta.discourse.org/u/leomakkinje)\
**Post date:** [1 Novembre 2016, 9:54am UTC](https://meta.discourse.org/t/discourse-failed-to-backup-how-to-debug/52217/8 "2016-11-01T09:54:19Z")

</div>

Same issue here. Since updating to “latest-release +95 1.7.0.beta6” there seems to be a stuck or broken backup process.

I first noticed it a day after the update when I received a notice about high CPU load on our forum VPS. Tried a reboot, didn’t fix. The top command lists a Ruby process that’s constantly consuming around 100% CPU.

Then I tried “cd /var/discourse; git pull; ./launcher rebuild app; ./launcher cleanup”. It initially failed because the database couldn’t be shutdown. A second attempt did work. The site was accessible again and no data was lost.

Then I tried to perform a manual backup. Normally I’d see a list of log messages but now all I see is a spinning wheel. Clicking Cancel gets the site out of ReadOnly mode for a few seconds and then it goes back to ReadOnly.

I’m going to do another rebuild and switch off automatic backups and see if that gets the site a) in permanent readwrite mode, b) keeps CPU load at a normal level. And then pray that a) the forum doesn’t crash, b) the bug gets fixed soon.

BTW, is there any way to roll back to a previous version, before 1.7.0.beta6?

---

_[View the full topic](https://meta.discourse.org/t/discourse-failed-to-backup-how-to-debug/52217)._
