# Backup link send to mail failed to download

**URL:** https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888
**Category:** Support
**Created:** [12월 28, 2017, 6:12오후 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888 "2017-12-28T18:12:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Pravi](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Pravi](https://meta.discourse.org/u/Pravi)
#### Post date: [12월 28, 2017, 6:12오후 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/1 "2017-12-28T18:12:39Z")

</div>

Hello Guys,

I have tried to download backup of my site couple of times, but the link send to mail failed to download every time. The link just showed a blank white page. The error logs shows following errors:

```
ActionView::MissingTemplate (Missing template admin/backups/show, admin/admin/show, application/show with {:locale=>[:en], :formats=>[:gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}. Searched in:
  * "/var/www/discourse/app/views"
  * "/var/www/discourse/plugins/docker_manager/app/views"
)
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.4/lib/action_view/path_set.rb:46:in `find'

```

---

<div class="post-metadata">

### Author: ![Wseries](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wseries/32/120443_2.png) [@Wseries](https://meta.discourse.org/u/Wseries)
#### Post date: [1월 5, 2018, 1:55오전 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/2 "2018-01-05T01:55:02Z")

</div>

Although I haven’t checked my error logs, I appear to be having the same issue. I just tried to download a backup from the link provided in the email and got a white page and no downloaded file.

As a workaround I downloaded them manually via SFTP after finding the backup files located in /var/discourse/shared/standalone/backups/default.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 5, 2018, 2:15오전 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/3 "2018-01-05T02:15:38Z")

</div>

Can you repro this @techapj?

---

<div class="post-metadata">

### Author: ![Pravi](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Pravi](https://meta.discourse.org/u/Pravi)
#### Post date: [1월 5, 2018, 1:56오후 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/4 "2018-01-05T13:56:12Z")

</div>

@codinghorror  
For fresh manual back up, the download link works fine. You have to download it immediately and if failed to download with in a couple of hours, then it wont work. Not sure weather its a security measure or a Bug!!

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 5, 2018, 3:56오후 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/6 "2018-01-05T15:56:11Z")

</div>

> [@Pravi](#):
>
> You have to download it immediately and if failed to download with in a couple of hours, then it wont work.

Yeah, as soon as the download is started the token expires (as a security measure). The error (white-page) you are seeing is a bug, instead a proper error message should be displayed. Fixed via:

[https://github.com/discourse/discourse/commit/ed4b845930e0893fe5c1eab1849b7c92c23c7da8](https://github.com/discourse/discourse/commit/ed4b845930e0893fe5c1eab1849b7c92c23c7da8)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 5, 2018, 11:07오후 UTC](https://meta.discourse.org/t/backup-link-send-to-mail-failed-to-download/76888/7 "2018-01-05T23:07:30Z")

</div>


