# Discourseのデータベースを一方から他方へクローンすると、マイグレーション時にリビルドが失敗する

**URL:** <https://meta.discourse.org/t/cloning-a-database-from-one-discourse-to-another-causes-rebuild-to-fail-on-migration/183370>\
**Category:** Product Support\
**Created:** [2021 年 3 月 15 日午後 11:32 UTC](https://meta.discourse.org/t/cloning-a-database-from-one-discourse-to-another-causes-rebuild-to-fail-on-migration/183370 "2021-03-15T23:32:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [2021 年 3 月 16 日午前 2:52 UTC](https://meta.discourse.org/t/cloning-a-database-from-one-discourse-to-another-causes-rebuild-to-fail-on-migration/183370/3 "2021-03-16T02:52:55Z")

</div>

バックアップと復元を標準機能で利用すれば、はるかに簡単になります。ただし、復元先のサイトがバックアップ作成元のサイトと同じかそれより新しいバージョンであることをご確認ください。

---

_[View the full topic](https://meta.discourse.org/t/cloning-a-database-from-one-discourse-to-another-causes-rebuild-to-fail-on-migration/183370)._
