# DO Storage and uploaded backups not showing

**URL:** https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643
**Category:** Self-hosting
**Created:** [February 28, 2022, 10:47pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643 "2022-02-28T22:47:47Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [February 28, 2022, 10:47pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/1 "2022-02-28T22:47:47Z")

</div>

I’ve uploaded my backup via SSH to the new storage drive and it isn’t showing in the admin section.

My app.yml looks like this per the instructions here - [Move Uploads and Backups to DigitalOcean Block Storage](https://meta.discourse.org/t/moving-uploads-and-backups-to-digitalocean-block-storage/89274)

```plaintext
## The Docker container is stateless; all data is stored in /shared
volumes:
   - volume:
      host: /mnt/volume_lon1_01/shared/standalone
      guest: /shared
   - volume:
      host: /mnt/volume_lon1_01/shared/standalone/log/var-log
      guest: /var/log
    - volume:
      host: /var/postgres_data_discourse
      guest: /shared/postgres_data

```

This is frying my brain…

---

<div class="post-metadata">

### Author: ![marianord](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marianord/32/90502_2.png) [@marianord](https://meta.discourse.org/u/marianord)
#### Post date: [March 1, 2022, 2:16am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/2 "2022-03-01T02:16:16Z")

</div>

Did you rebuild the application after changing/adding those values?

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 8:12am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/3 "2022-03-01T08:12:36Z")

</div>

Yes I rebuilt the application after making changes

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 9:03am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/4 "2022-03-01T09:03:36Z")

</div>

What is the directory supposed to be?

Backups or backups/default?

Currently the backup is in /backups

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 9:05am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/5 "2022-03-01T09:05:10Z")

</div>

Will try restoring it via command line today if I can’t get it to show in the UI

---

<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: [March 1, 2022, 10:04am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/6 "2022-03-01T10:04:57Z")

</div>

> [@Vaping\_Community](#):
>
> backups/default

That’s where. You can make a backup to see where they are stored.

> [@Vaping\_Community](#):
>
> Will try restoring it via command line today if I can’t get it to show in the UI

It’s the same code so that won’t change anything

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 10:11am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/7 "2022-03-01T10:11:04Z")

</div>

I just made a backup but can’t find it anywhere, logs show..

`[2022-03-01 10:05:53] Making sure '/var/www/discourse/public/backups/default' exists...`

But it doesn’t exist! Where could the backup be?

I thought the backup would be on the new storage drive, what am I missing here?

Should `./launcher rebuild app` reset the forum everytime?

I cannot upload anything, images etc either, I hate that this always breaks my build when I follow what I feel should be decent guides on doing things, I just wanted to add some storage to my existing hosting, now I’m without a website, so frustrating 😵‍💫

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 1:01pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/8 "2022-03-01T13:01:47Z")

</div>

Started again using the “official guide” will create a snapshot when it’s installed so I can revert if needed

---

<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: [March 1, 2022, 2:19pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/9 "2022-03-01T14:19:54Z")

</div>

> [@Vaping\_Community](#):
>
> But it doesn’t exist! Where could the backup be?

That’s the path inside the container.

I think the backup should be in

```
    /mnt/volume_lon1_01/shared/standalone/backups/default

```

outside the container.

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 2:32pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/10 "2022-03-01T14:32:25Z")

</div>

That’s what I thought but it wasn’t there either I also couldn’t upload anything to posts, images etc just got an error, I don’t think that guide for storage works

---

<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: [March 1, 2022, 2:35pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/11 "2022-03-01T14:35:17Z")

</div>

Did you move all of that stuff to the new location? What do you see in

```
  /mnt/volume_lon1_01/shared/standalone

```

and/or

```
  /mnt/volume_lon1_01/shared/

```

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 4:07pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/12 "2022-03-01T16:07:14Z")

</div>

I followed the tutorial exact and everything was in that location, I’ve now started again.

Here is what I have done:

Followed this guide here: [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md)

Uploaded my backup via SSH to backups/default

Created a snapshot of this point so I can revert if anything goes wrong

I have a volume mounted at `/mnt/` ready for a move, when I moved the directories last time I found the following problems:

- Backup didn’t save to the new volume backup folder (actually couldn’t find it at all)
- Image uploads just errored out, I’m assuming because they couldn’t upload to the new volume for whatever reason

Were uploads and backups tested with this tutorial here @techAPJ[Move Uploads and Backups to DigitalOcean Block Storage](https://meta.discourse.org/t/moving-uploads-and-backups-to-digitalocean-block-storage/89274)

On top of all this, I am having to wait for letsencrypt, I believe this takes a week as I didn’t realise a rebuild would try to get a new certificate each and every time, so I have exhausted my trys, I can not access the site at all until I have the SSL certs, http works for a minute but then it is forced to https meaning I can not register

> [@pfaffman](#):
>
> Did you move all of that stuff to the new location?

I used these commands as the tutorial stated:

`mv /var/discourse/shared/standalone/postgres_data /var/postgres_data_discourse`  
`mv /var/discourse/shared /mnt/volume_lon1_01`

---

<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: [March 1, 2022, 4:11pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/13 "2022-03-01T16:11:58Z")

</div>

That’s frustrating. Sorry. The instructions look right to me, but it’s the kind of thing where if you make one tiny misstep it doesn’t work.

Do you see the files if you enter the container and look in `/shared/`?

You can cheat the let’s encrypt limit if you do [Setting up Let’s Encrypt with Multiple Domains](https://meta.discourse.org/t/setting-up-let-s-encrypt-with-multiple-domains/56685).

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 4:15pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/14 "2022-03-01T16:15:59Z")

</div>

I haven’t moved anything to the new volume yet I want some clarity because I followed the steps exact and it didn’t work.

I don’t understand that post at all and I’m done messing with it for now, I’ll just wait because like you say, it’s frustrating, I just want my site back up and running and a snapshot of it before I do anything else

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 4:16pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/15 "2022-03-01T16:16:23Z")

</div>

Btw @pfaffman thanks for your help so far, much appreciated

---

<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: [March 1, 2022, 4:21pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/16 "2022-03-01T16:21:02Z")

</div>

> [@Vaping\_Community](#):
>
> I haven’t moved anything to the new volume yet

Then it can’t work, and you didn’t follow the directions; a safer way to do it would be to copy stuff to new volume, so you could more easily switch back and forth. Maybe the instructions would feel safer it if included copying the files and then deleting them (which is exactly what `mv` does since it’s moving across partitions.)

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 1, 2022, 4:22pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/17 "2022-03-01T16:22:14Z")

</div>

> [@Vaping\_Community](#):
>
> I’ve now started again

Maybe you didn’t see this part of my post?

---

<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: [March 1, 2022, 11:50pm UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/18 "2022-03-01T23:50:36Z")

</div>

That does make it all make more sense!

I recommend that you `rsync` or `cp` the files to the new partition rather than `mv` them, which will make it easier to switch back to the original setup if something goes wrong. You can then just

```
 ./launcher destroy app
 ./launcher start app

```

To see if the new setup works. And switch back to a backup version of the `app.yml` if it doesn’t.

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [March 2, 2022, 9:01am UTC](https://meta.discourse.org/t/do-storage-and-uploaded-backups-not-showing/219643/19 "2022-03-02T09:01:42Z")

</div>

That’s an excellent idea, thank you I’ll try this as soon as I can
