YunoHost-Apps / funkwhale_ynh

A modern, convivial and free music server on YunoHost
https://funkwhale.audio/
GNU Affero General Public License v3.0
75 stars 22 forks source link

Exclude data from upgrade backups #278

Open getzze opened 2 weeks ago

getzze commented 2 weeks ago

Funkwhale is taking a lot of time to update because it has to save all my music collection and also the backups are taking a lot of space. I found this issue: https://github.com/YunoHost/issues/issues/1840

The way nextcloud_ynh solves it is by using the --is-big option to ynh_backup: https://yunohost.org/en/packaging_apps_helpers#ynh-backup See: https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/scripts/backup#L22 Like that the data is not saved in all the backups.

Can this be done in funkwhale_ynh also?

Thovi98 commented 2 weeks ago

What’s your Yunohost version? There was a bug in a recent version which backed up the datadir, but is has since been resolved. Could you confirm? Where is located your music collection?

getzze commented 2 weeks ago

Now I'm on version 11.3.0, but I was probably on 11.2.x the last time I updated funkwhale.

My music collection is in the default location: /home/yunohost.app/funkwhale/data/media

On 7 November 2024 17:43:44 GMT+00:00, Thomas @.***> wrote:

What’s your Yunohost version? There was a bug in a recent version which backed up the datadir, but is has since been resolved. Could you confirm? Where is located your music collection?

-- Reply to this email directly or view it on GitHub: https://github.com/YunoHost-Apps/funkwhale_ynh/issues/278#issuecomment-2462864352 You are receiving this because you authored the thread.

Message ID: @.***>

Thovi98 commented 2 weeks ago

Okay let’s see on the next version how it behaves then :)