# Error Restoring Backup on Migration

**URL:** <https://meta.discourse.org/t/error-restoring-backup-on-migration/128849>\
**Category:** Bug\
**Created:** [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:** 8

<div class="post-metadata">

**Author:** ![Nathan\_Palmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathan_palmer/32/148509_2.png) [@Nathan\_Palmer](https://meta.discourse.org/u/Nathan_Palmer)\
**Post date:** [20 בספטמבר,‏ 2019,‏ 3:20pm UTC](https://meta.discourse.org/t/error-restoring-backup-on-migration/128849/8 "2019-09-20T15:20:46Z")

</div>

We’re running into the same issue when attempting to restore a database backup from one instance to another. Both are running 2.4.0.beta4 commit [7f8cdea924]. I ran a backup on one, and then directly took that backup and tried to restore on the other.

```
EXCEPTION: PG::UndefinedColumn: ERROR: column user_profiles.card_image_badge_id does not exist

```

Metadata

```
[2019-09-20 15:15:23] Validating metadata...
[2019-09-20 15:15:23] Current version: 20190908234054
[2019-09-20 15:15:23] Restored version: 20190908234054

```

---

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