# 如何将实时备份加载到本地开发环境

**URL:** <https://meta.discourse.org/t/how-to-load-live-backup-into-local-dev-environment/118550>\
**Category:** Development\
**Created:** [2019年五月23日 20:05 UTC](https://meta.discourse.org/t/how-to-load-live-backup-into-local-dev-environment/118550 "2019-05-23T20:05:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ellibereth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellibereth/32/202896_2.png) [@Ellibereth](https://meta.discourse.org/u/Ellibereth)\
**Post date:** [2019年五月23日 20:05 UTC](https://meta.discourse.org/t/how-to-load-live-backup-into-local-dev-environment/118550/1 "2019-05-23T20:05:24Z")

</div>

How do you load a .tar.gz backup from a live instance into a local dev environment?

---

<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:** [2019年五月23日 20:56 UTC](https://meta.discourse.org/t/how-to-load-live-backup-into-local-dev-environment/118550/2 "2019-05-23T20:56:11Z")

</div>

Best to use the command line with the backup file. Make sure it has the same filename and put it in backup/default

```
bundle exec discourse restore

```
