# לא ניתן לשחזר גיבוי מ-business 7 להתקנה נקייה עקב שגיאת גרסה

**URL:** https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876
**Category:** Support
**Created:** [14 בינואר,‏ 2022,‏ 4:21pm UTC](https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876 "2022-01-14T16:21:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [14 בינואר,‏ 2022,‏ 4:21pm UTC](https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876/1 "2022-01-14T16:21:21Z")

</div>

I have a freshly rebuilt container that is refusing to restore a backup taken hours ago from

```plaintext
Your branch is up to date with 'origin/tests-passed'.

nothing to commit, working tree clean
root@meshack-five:/var/www/discourse# git log
commit c758e2cdd17cc7f8cc44596e72d60e81b5bd8def (grafted, HEAD -> tests-passed, origin/tests-passed)
Author: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Date: Fri Jan 14 15:51:31 2022 +0100

```

But when I try to restore, I get …

```plaintext
Copying archive to tmp directory...
Unzipping archive, this may take a while...
Extracting dump file...
Validating metadata...
  Current version: 20220107014925
  Restored version: 20220112091339
EXCEPTION: You're trying to restore a more recent version of the schema. You should migrate first!

```

I tried doing a ` SKIP_POST_DEPLOYMENT_MIGRATIONS=false rake db:migrate` to see if that would help, but no joy.

[https://five.imports.literateforums.com/](https://five.imports.literateforums.com/) shows

```plaintext
    <meta name="generator" content="Discourse 2.8.0.beta11 - https://github.com/discourse/discourse version c758e2cdd17cc7f8cc44596e72d60e81b5bd8def">

```

Source on the hosted site (on `business7`) shows:

```plaintext
   <meta name="generator" content="Discourse 2.8.0.beta11 - https://github.com/discourse/discourse version 6272edd1219652a8e1c9c33e16229b029cec603c">

```

I checked the commits at [Commits · discourse/discourse · GitHub](https://github.com/discourse/discourse/commits/main) and it looks like my server is more up to date.

I feel like I must be doing something stupid, but I can’t see what it could be

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [14 בינואר,‏ 2022,‏ 5:32pm UTC](https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876/2 "2022-01-14T17:32:11Z")

</div>

Probably just a migration from a plugin that isn’t installed on your system. Replacing the version number in the filename should solve it.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [14 בינואר,‏ 2022,‏ 5:52pm UTC](https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876/3 "2022-01-14T17:52:09Z")

</div>

Aha. I was wondering about plugins and whether I needed to install them all. And renaming the file is embarrassingly simple. 🤷‍♂️

That worked, but I’ll rebuild with the plugins likely to be at play in case something needs to be there when I merge these two sites.

Thanks very much.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [13 בפברואר,‏ 2022,‏ 5:52pm UTC](https://meta.discourse.org/t/cant-restore-backup-from-business-7-to-fresh-install-due-to-version-error/214876/4 "2022-02-13T17:52:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
