# Backup isn't including all uploads folder data

**URL:** https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075
**Category:** Support
**Created:** [February 24, 2016, 8:01am UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075 "2016-02-24T08:01:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [February 24, 2016, 8:01am UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075/1 "2016-02-24T08:01:31Z")

</div>

So I recently migrated a server from [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) to DO.

There is one issue on the new instance, the previous server had the a folder called db1234 (4 digit numerical value) in the var/discourse/shared/standalone/uploads/ folder.

The new server (docker install) uses a folder called ‘default’ in the var/discourse/shared/standalone/uploads/ folder.

The images and user uploads all load correctly, from both folders now. New uploads going to the default folder and old uploads still working from the db1234 folder.

When I do site backup via the admin panel (including files) however. It only includes the default folder and the db1234 folder is excluded. Not sure if this is fair to call it a bug, I think it would make sense to include all the contents of the uploads folder though.

---

<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: [February 24, 2016, 9:24am UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075/2 "2016-02-24T09:24:56Z")

</div>

You might ask [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) about this.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 24, 2016, 9:29am UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075/3 "2016-02-24T09:29:30Z")

</div>

I would merge your `db1234` folder with the `default` one and then do a remap to fix the links in the database

```plaintext
cd /var/discourse
./launcher enter app
discourse remap /uploads/db1234/ /uploads/default/

```

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [February 26, 2016, 1:56pm UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075/4 "2016-02-26T13:56:07Z")

</div>

Wow, thanks so much @zogstrip, I really appreciate it. Your solution solved this issue perfectly! 🙂

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 26, 2016, 2:24pm UTC](https://meta.discourse.org/t/backup-isnt-including-all-uploads-folder-data/40075/5 "2016-02-26T14:24:20Z")

</div>


