Trash retention

How long soft-deleted files stay recoverable. Changing it updates expiry on items already in trash.

Settingtrash_keep_amount

Trash retention

How long soft-deleted files stay recoverable (from delete time). After that, the cleanup job permanently removes them.

Where to find it

Admin → Settings → FilesTrash & retention

Field Key
Amount trash_keep_amount
Unit trash_keep_unit (minutes / hours / days)

Defaults often 30 days. Amount has a high ceiling (thousands of units — keep it sensible).

How it works

Changing amount/unit recomputes expiry on all items currently in trash. Members restore from My Files → Deleted while still inside retention (and their tier allows restore).

Permanent delete timing also depends on Trash cleanup interval (how often the worker scans).

Common problems

Files vanished overnight

Retention elapsed and cleanup ran. That delete is permanent unless you have backups.

Shortened retention by mistake

Items already in trash get the new shorter deadline immediately.

Related