nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.46k stars 294 forks source link

Possibility to exclude trashbin from automatic backup #1858

Open djamn opened 7 months ago

djamn commented 7 months ago

I have enabled automatic backups on NextcloudPi. On my small system with a few users, a lot of deleted files have accumulated over time. All deleted files were included in the automatic backup. So my backup had 80GB before a trashbin delete, while it only had ~35GB afterwards.

Describe the solution you'd like I would like to have a way to not have to include the recycle bin in the automatic backup creation by e.g. using a setting. This way I don't have to delete the recycle bin of every user from time to time (because otherwise the backup file would become quite large again over time) and be still able to restore older deleted files from the recycle bin.

m-breitbach commented 6 months ago

Have a look at the configuration trashbin_retention_obligation (see documentation). On my instance, I have configured the trashbin (and file versions) to expire after some period of time.