# Manual backup with command line and restore

**URL:** <https://meta.discourse.org/t/manual-backup-with-command-line-and-restore/117198>\
**Category:** Self-hosting\
**Created:** [08.Май.2019 18:17:46 UTC](https://meta.discourse.org/t/manual-backup-with-command-line-and-restore/117198 "2019-05-08T18:17:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [08.Май.2019 19:18:04 UTC](https://meta.discourse.org/t/manual-backup-with-command-line-and-restore/117198/5 "2019-05-08T19:18:04Z")

</div>

I’d try rsyncing the whole `/var/discourse` folder to the new machine (delete the current one on the new machine first and destroy the current docker image).

EDIT: you could be somewhat selective like not copying logs, but simple is simple.

---

_[View the full topic](https://meta.discourse.org/t/manual-backup-with-command-line-and-restore/117198)._
