# Download backup - email link only

**URL:** https://meta.discourse.org/t/download-backup-email-link-only/59626
**Category:** Support
**Created:** [21 maart 2017 om 15:23 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626 "2017-03-21T15:23:55Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [24 augustus 2022 om 16:46 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/21 "2022-08-24T16:46:58Z")

</div>

If you’re self-hosted then take a look at using `rsync`, which will allow you to resume interrupted transfers.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [24 augustus 2022 om 16:48 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/22 "2022-08-24T16:48:02Z")

</div>

If one wants to download Discourse’s backups regularly, they can set up [rClone](https://rclone.org/) with a cron task.

> [@Use rclone to sync backups to Dropbox or Google Drive](https://meta.discourse.org/t/how-to-sync-your-backups-to-cloud-storage-alternative-method/97294):
>
> There is a [plugin that allows you to sync your discourse backups to various cloud storage providers](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018). Unfortunately, it currently doesn’t work with Dropbox and Google Drive. If you nevertheless want to store your backup on your Dropbox or Google Drive follow the steps below. I will use dropbox as an example but the instructions will also work with any other [backend supported by rclone](https://rclone.org/). Disclaimer: The instructions have been tested on Ubuntu 16.04. and they work for me but I am not an expert at …

You can set up a FTP server on your own computer and configure rClone to copy the backups on your computer this way. Just be sure your computer and your FTP server are running at the time you configured in the cron task.

---

<div class="post-metadata">

### Author: ![C\_T](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c_t/32/265680_2.png) [@C\_T](https://meta.discourse.org/u/C_T)
#### Post date: [24 augustus 2022 om 19:55 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/23 "2022-08-24T19:55:31Z")

</div>

Thanks for the approaches. Before some other people were doing the backups. I didn’t want them to reach the host machine directly. Maybe I should change our cooperation later.

---

<div class="post-metadata">

### Author: ![C\_T](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c_t/32/265680_2.png) [@C\_T](https://meta.discourse.org/u/C_T)
#### Post date: [24 augustus 2022 om 19:59 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/24 "2022-08-24T19:59:27Z")

</div>

Thanks. I will try this.  
There are some other people doing the backups before. I didn’t want them to reach the host machine directly. Is there a way to let them be only able to run only `rsync` command but not able to run any other commands on my machine?

---

<div class="post-metadata">

### Author: ![LOCOSP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/locosp/32/348266_2.png) [@LOCOSP](https://meta.discourse.org/u/LOCOSP)
#### Post date: [30 december 2023 om 02:34 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/25 "2023-12-30T02:34:24Z")

</div>

Hi, I’m trying to download backup with python via API but there is an issue with the token, have no idea where from and how to get it.

I can pass my API key, username, and url to build download link (https://{url}/admin/backups/{latest\_backup\_file\_name}?token={token???}

Anyone have manage to do this thaqt way?

---

<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: [30 december 2023 om 18:22 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/26 "2023-12-30T18:22:04Z")

</div>

I would do it via ssh or some other direct method rather than the API. What problem are you solving?

---

<div class="post-metadata">

### Author: ![LOCOSP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/locosp/32/348266_2.png) [@LOCOSP](https://meta.discourse.org/u/LOCOSP)
#### Post date: [30 december 2023 om 23:23 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/27 "2023-12-30T23:23:58Z")

</div>

I’m just building my own bot to manage some thing on forum and now I want to make automatic backups :). I’ve manage to create backup via API and now trying to get them from discourse via API.

But last night found the bypass and now my bot is getting backups from the container it self.

---

<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: [30 december 2023 om 23:40 UTC](https://meta.discourse.org/t/download-backup-email-link-only/59626/28 "2023-12-30T23:40:08Z")

</div>

> [@LOCOSP](#):
>
> now my bot is getting backups from the container it self.

Great! Glad you got it.

That’s what I was thinking. You don’t have to get them from the container, they are in /var/discourse/shared/standalone/backups, but the easier thing is to put them on S3.

[Vorige pagina](https://meta.discourse.org/t/download-backup-email-link-only/59626.md?page=1)
