# Error Restoring Backup on Migration

**URL:** https://meta.discourse.org/t/error-restoring-backup-on-migration/128849
**Category:** Bug
**Created:** [September 18, 2019, 12:36am UTC](https://meta.discourse.org/t/error-restoring-backup-on-migration/128849 "2019-09-18T00:36:22Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![ariznaf](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@ariznaf](https://meta.discourse.org/u/ariznaf)
#### Post date: [September 25, 2019, 9:02pm UTC](https://meta.discourse.org/t/error-restoring-backup-on-migration/128849/20 "2019-09-25T21:02:24Z")

</div>

Exactly same problem here.

But with some variation.

I was trying to create a test machine to test some plugins and themes.

I created a new discourse forum from scratch, update to the last version, and then tried to restore the last backup.

It failed with that error.

I realized that the test machine had a newest version than the production machine.

I upgrade the production machine and made a backup.

Same error.

The test machine were I tried to restore has v2.4.0beta4+115.  
The production machine reports latest-release+115 after upgrading (strange as till now it reported the version number).  
discourse-doctor script reports v2.4.0beta4 in both machines.

May be it is a bug in v2.4.0  
I have talked about this in this posts (with no response till now).

[https://meta.discourse.org/t/is-latest-release-105-and-v2-4-0beta4-105-the-same/129415](https://meta.discourse.org/t/is-latest-release-105-and-v2-4-0beta4-105-the-same/129415)

Here I ask for the best way to plan a disaster recovery method.  
The backups don’t tell you easily which is the version of discourse and plugin it contains, and when you install discourse in a new machine you have no control of the version of discourse/plugins you are installing, as long as I know, it installs latest versions.

> [@Best way to recover from backups with plugins?](https://meta.discourse.org/t/best-way-to-recover-from-backups/129395):
>
> We have recently upgraded to discourse from vbulletin. We are yet learning how to use discourse and its tools. One of my concerns is disaster recovery. We have automatic snapshots that we keep for long time. We make daily backups using the tools inside discourse and saved in S3 bucket during 15 days. Recovering from a snapshot is quite straight forward. The idea is to recover from the last available snapshot that works and then use the last available backup to restore the content. I neede…

---

_[View the full topic](https://meta.discourse.org/t/error-restoring-backup-on-migration/128849)._
