YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
85 stars 36 forks source link

Do not keep avatars cache in the backups #475

Open kuba-orlik opened 1 week ago

kuba-orlik commented 1 week ago

Describe the bug

When backing up the app, the archive is filled with cache/avatars and cache/headers files. This can be tens of gigabytes and is just essentially just cache that can be rebuilt. Keeping it in archive makes the backup and upgrade process take literal hours.

Context

Steps to reproduce

Expected behavior

The cached images from other instances are not included in the archive