# How to backup Docker discourse from command-line before rebuilding broken Discourse?

**URL:** <https://meta.discourse.org/t/how-to-backup-docker-discourse-from-command-line-before-rebuilding-broken-discourse/31052>\
**Category:** Support\
**Created:** [14.Июль.2015 20:20:14 UTC](https://meta.discourse.org/t/how-to-backup-docker-discourse-from-command-line-before-rebuilding-broken-discourse/31052 "2015-07-14T20:20:14Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [23.Май.2019 15:20:39 UTC](https://meta.discourse.org/t/how-to-backup-docker-discourse-from-command-line-before-rebuilding-broken-discourse/31052/13 "2019-05-23T15:20:39Z")

</div>

> [@BobbyZopfan](#):
>
> can I download that latest backup from my discourse instance from that email link which I had sent myself earlier?

No. If your instance is down, you cannot use that link.

> [@BobbyZopfan](#):
>
> Or, I’ll first have to start my website (by rebuilding from a sample app.yml may be), and only then I can use that email link to download the backup?

Correct, you need Discourse to be running. As I previously mentioned, you can download the backup by any other file transfer system you like. If Discourse isn’t working, using something like FTP or SCP would be suggested.

> [@BobbyZopfan](#):
>
> And last, can that email link be clicked more than once (in some websites, I’ve seen that you can click/use such links only once).

I’m fairly certain this is a one time link. However, Discourse is what tracks usage of the link, so if you click it while your site is completely down, the click should not be counted.

---

_[View the full topic](https://meta.discourse.org/t/how-to-backup-docker-discourse-from-command-line-before-rebuilding-broken-discourse/31052)._
