diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 39fb65fbe..0955d8230 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -527,6 +527,34 @@ Available values: * ``disabled`` trash bin auto clean disabled, files and folders will be kept forever +:: + + 'versions_retention_obligation' => 'auto', + +If the versions app is enabled (default), this setting defines the policy +for when versions will be permanently deleted. + +The app allows for two settings, a minimum time for version retention, +and a maximum time for version retention. +Minimum time is the number of days a version will be kept, after which it +may be deleted. Maximum time is the number of days at which it is guaranteed +to be deleted. +Both minimum and maximum times can be set together to explicitly define +version deletion. For migration purposes, this setting is installed +initially set to "auto", which is equivalent to the default setting in +ownCloud 8.1 and before. + +Available values: + ``auto`` default setting. Automatically expire versions according to + expire rules. Please refer to Files_versions online documentation + for more info. + ``D, auto`` keep versions at least for D days, apply expire rules to all + versions that older than D days +* ``auto, D`` delete all versions that are older than D days automatically, + delete other versions according to expire rules +* ``D1, D2`` keep versions for at least D1 days and delete when exceeds D2 days + ``disabled`` versions auto clean disabled, versions will be kept forever + ownCloud Verifications ----------------------