# How to delete backups?

**URL:** <https://forums.screenly.io/t/how-to-delete-backups/980>\
**Category:** Anthias\
**Created:** [February 6, 2023, 1:52pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980 "2023-02-06T13:52:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![swebervna](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@swebervna](https://forums.screenly.io/u/swebervna)\
**Post date:** [February 6, 2023, 1:52pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/1 "2023-02-06T13:52:16Z")

</div>

I regularly back up my Anthias instances and after I download the backup from the web interface, I usually SSH into the instance and delete the backups (they linger and take up a lot of space), but it’s no longer under **/home/pi/screenly/static** , but rather the nginx container under **/data/screenly/static**. I know how to exec bash into this, but when I try to delete the files I get the error:  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/5a7e07ebef65beec9deb4cda1d84cf245fff4236.png)

Is there a different way I should be doing this? Thanks. 🙂

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [February 7, 2023, 1:10am UTC](https://forums.screenly.io/t/how-to-delete-backups/980/2 "2023-02-07T01:10:27Z")

</div>

You could try and change this part of the docker-compose file to rw:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/9ca3e64846aa29d8888f1173355f6a75c78ccba9.png)

I think this was never something to look into because no one is usually backing up the Assets so constantly that they fill up Gigabytes of data in the SD card.

---

<div class="post-metadata">

**Author:** ![swebervna](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@swebervna](https://forums.screenly.io/u/swebervna)\
**Post date:** [February 7, 2023, 1:33pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/3 "2023-02-07T13:33:18Z")

</div>

Got it, I’ll try that. Where is the docker compose file usually stored? I see one in /home/pi/screenly, but I thought this directory was temp from installation.

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [February 7, 2023, 10:04pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/4 "2023-02-07T22:04:59Z")

</div>

the is the correct file, you must save the file after the changes and then run `./screenly/bin/upgrade_containers.sh` to rebuild the containers.

---

<div class="post-metadata">

**Author:** ![swebervna](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@swebervna](https://forums.screenly.io/u/swebervna)\
**Post date:** [February 8, 2023, 6:08pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/5 "2023-02-08T18:08:04Z")

</div>

Is this the right spot? “- resin-data:/data”?  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/6a39ff4ecac45556e0ec5826fe49ffdf70eb5d0e.png)

It was “ro”, I changed it to “rw”, rebuilt the containers, but still getting the read-only error unfortunately:  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/1a28795646068a18c7e2fcdb18b6f5f021eb6caf.png)

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [February 8, 2023, 10:41pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/6 "2023-02-08T22:41:36Z")

</div>

> [@swebervna](#):
>
> Is this the right spot? “- resin-data:/data”?

I sent the screenshot that shows the file name and circled the part.

---

<div class="post-metadata">

**Author:** ![swebervna](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@swebervna](https://forums.screenly.io/u/swebervna)\
**Post date:** [February 9, 2023, 2:17pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/8 "2023-02-09T14:17:55Z")

</div>

Ohhh nevermind I’m in the wrong yml, I should be in the .overrides.yml!

---

<div class="post-metadata">

**Author:** ![swebervna](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@swebervna](https://forums.screenly.io/u/swebervna)\
**Post date:** [February 9, 2023, 2:20pm UTC](https://forums.screenly.io/t/how-to-delete-backups/980/9 "2023-02-09T14:20:41Z")

</div>

This worked, thanks so much! 🙂
