<p>You can restore your database from your pre-update attempt database backup that you (hopefully) made.  Assuming you've got the the <a href="https://craftcms.com/docs/config-settings#backupDbOnUpdate" rel="nofollow">backupDbOnUpdate</a> config setting set to <code>true</code>, Craft made one for you in <code>craft/storage/runtime/backups</code> as well.</p>

<p>You can also download any previous version of Craft's files via: <a href="https://craftcms.stackexchange.com/questions/223/where-can-i-download-previous-versions-of-craft">Where can I download previous versions of Craft?</a></p>

<p>Just replace the existing <code>craft/app</code> folder with the fresh one you downloaded and delete <code>app.bak</code>.  I wouldn't recommend restoring directly from <code>app.bak</code> because depending on where your update failed, it could be in an inconsistent state.</p>

<p>I'd recommend doing a <a href="https://craftcms.com/docs/updating#manually-updating" rel="nofollow">manual update</a> when you're ready to update again as you probably ran into your server's max execution time or memory limit (which tends to happen on these larger updates).</p>

CC BY-SA 3.0
2015-12-10T23:36:24.020Z
2015-12-10T23:36:24.020Z
Brad Bell
<p>Running Craft version 2.3, build 2644, schema version 2.3.4... we clicked "update" and got an error screen that looks like the install screen that simply says "oops".</p>

<p>How can I restore my site from the files that are in the (automatically generated) folder "app.bak"?</p>

<auto-updates>
Update failed, restoring from app.bak?
# Update failed, restoring from app.bak?

(Asked by: username_0 on 2015-12-10)

Running Craft version 2.3, build 2644, schema version 2.3.4... we clicked "update" and got an error screen that looks like the install screen that simply says "oops".

How can I restore my site from the files that are in the (automatically generated) folder "app.bak"?

**Tags:** auto-updates

---

## 1 answers

### Answer by username_1 on 2015-12-10. Score: 0 | Accepted answer

You can restore your database from your pre-update attempt database backup that you (hopefully) made. Assuming you've got the the [backupDbOnUpdate](https://craftcms.com/docs/config-settings#backupDbOnUpdate) config setting set to `true`, Craft made one for you in `craft/storage/runtime/backups` as well.

You can also download any previous version of Craft's files via: [Where can I download previous versions of Craft?](https://craftcms.stackexchange.com/questions/223/where-can-i-download-previous-versions-of-craft)

Just replace the existing `craft/app` folder with the fresh one you downloaded and delete `app.bak`. I wouldn't recommend restoring directly from `app.bak` because depending on where your update failed, it could be in an inconsistent state.

I'd recommend doing a [manual update](https://craftcms.com/docs/updating#manually-updating) when you're ready to update again as you probably ran into your server's max execution time or memory limit (which tends to happen on these larger updates).


---

