Skip to content

Commit 1b80300

Browse files
Merge pull request #13050 from nextcloud/backport/13045/stable31
[stable31] fix(admin): Update retention documentation
2 parents 2e201bb + a6d32ec commit 1b80300

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
Loading

admin_manual/file_workflows/retention.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ The rule from the example will delete all files tagged with ``Temporary file`` 1
1919
You can also use the "Notify owner a day before a file is automatically deleted" option to
2020
make sure the file owner will get a notification before a file will be deleted.
2121

22+
File age
23+
--------
24+
25+
There are 2 options available that can be used to decide when to delete a file:
26+
27+
- **Creation:** Time the file was created on the Nextcloud Server or uploaded to it.
28+
- **Last modification:** Time when the file was last modified. Uploading also counts as a modification,
29+
so files that have not been modified since a long time before uploading are not deleted shortly after the upload.
30+
2231
Common misconfigurations
2332
------------------------
2433

@@ -28,12 +37,3 @@ Public collaborative tag
2837
Similar to :doc:`access_control` retention should use ``restricted`` or ``invisible``
2938
tags. Otherwise any user can remove the tag and the file is not removed after the given
3039
period. Use :doc:`automated_tagging` to assign such tags to newly uploaded files.
31-
32-
File age
33-
^^^^^^^^
34-
35-
Currently retention is based on the creation date of the file. The sync client sends
36-
the **original** creation date to the server, while uploading through the web interface
37-
will create a new file with a **new** creation date.
38-
We hope to be able to add a ``upload date`` to the filesystem soon, which would make more
39-
sense. Until then this potentially unexpected behavior has to be taken into account.

0 commit comments

Comments
 (0)