Skip to content

Trash can versioning option for deletes only #930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions users/versioning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ days. If this is set to a positive number of days, files will be removed when
they have been in the trash can that long. Setting this to zero prevents any
files from being removed from the trash can automatically.

Another :opt:`configuration option <option:: folder.versioning.params.archiveDeletedOnly>`
is available to archive only the deleted files, as opposed to normal trash can versioning
which archives all modified, renamed and deleted files. This is a lightweight
option to protect against accidental deletions, while using significantly
less disk space than full versioning.

Simple File Versioning
----------------------

Expand Down Expand Up @@ -310,6 +316,11 @@ example of such a section in the XML:
The number of days to keep files in the versions folder. Zero means to keep
forever. Older elements encountered during cleanup are removed.

.. option:: folder.versioning.params.archiveDeletedOnly

When this option is enabled it archives only deleted files.
Modified or renamed files are not archived, and hence, deleted normally.

.. option:: folder.versioning.params.keep

The number of old versions to keep, per file.
Expand Down