# Backup discourse from the command line

**URL:** https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364
**Category:** Self-Hosting
**Tags:** backups, how-to
**Created:** [June 12, 2017, 3:59pm UTC](https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364 "2017-06-12T15:59:45Z")
**Posts on this page:** 1
**Showing post:** 37

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [May 17, 2026, 9:11pm UTC](https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364/37 "2026-05-17T21:11:52Z")

</div>

Can I double check that the file you end up with here is the same as you get when backing up from the forum website?

I always rebuild at the command line but first back up using the website. This time I forgot to back up! I think using the command line for both might help me 🙂 Wish me luck.

---

_[View the full topic](https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364)._
