From e8cd5e829592c601d482c6c49bf214476cc9393a Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Fri, 10 Jun 2022 15:14:46 +0000 Subject: [PATCH] Adds trashbin retention obligation. --- base/config/01-base.config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/config/01-base.config.php b/base/config/01-base.config.php index dcb0967..5939d83 100644 --- a/base/config/01-base.config.php +++ b/base/config/01-base.config.php @@ -20,4 +20,7 @@ $CONFIG = array ( // sharing https://github.com/nextcloud/server/blob/master/config/config.sample.php#L1458-L1475 'sharing.maxAutocompleteResults' => 10, 'sharing.minSearchStringLength' => 2, -); \ No newline at end of file + // https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin + // delete all files in the trash bin that are older than 30 days automatically, delete other files anytime if space needed (trash takes more than 50% of quota) + 'trashbin_retention_obligation' => 'auto,30', +); -- GitLab