# How to restore a backup of an older version to a fresh install?

**URL:** <https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881>\
**Category:** Self-hosting\
**Created:** [29 Settembre 2016, 8:19pm UTC](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881 "2016-09-29T20:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![zachwlewis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zachwlewis/32/105371_2.png) [@zachwlewis](https://meta.discourse.org/u/zachwlewis)\
**Post date:** [29 Settembre 2016, 8:19pm UTC](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881/1 "2016-09-29T20:19:02Z")

</div>

Continuing the discussion from [Docker rebuild failed updating Postgresql: Signature verification failed](https://meta.discourse.org/t/docker-rebuild-failed-updating-postgresql-signature-verification-failed/50759/10):

After following the steps on the Discourse update page, I was asked to update _via_ the command line. When updating _via_ the command line, I was asked to update my `app.yml`, and the update essentially attempted to downgrade my postgresql install, resulting in all my data being lost. Luckily, I have several backups in an S3 bucket.

After a bit of work, my Discourse install was running, but it was a totally fresh copy. I pointed the backups directory to the S3 bucket, but was unable to see any of my old backups. To test that everything was configured correctly, I ran a manual backup, which appeared both in my Discourse Backups page and in the S3 bucket (alongside the previous backups).

I made very sure to keep lots of backups in case I somehow lost all my data. How can I restore from these backups?

---

_[View the full topic](https://meta.discourse.org/t/how-to-restore-a-backup-of-an-older-version-to-a-fresh-install/50881)._
