Retention and legal holds
Retention keeps deleted files and old versions for a minimum time. A legal hold keeps everything of a person, or of a space, until you release it. Both stop deletion for good; neither stops people from working normally.
The usual rules
Without any policy:
- Deleted files and folders stay in their owner's trash for 30 days
(
TRASH_DAYS), then a daily clean-up removes them. People can empty their trash sooner. - Each file keeps up to 50 unnamed versions (
MAX_VERSIONS), thinned as they age: one per 2 seconds in the first 10 seconds, one per 10 seconds in the first minute, one per minute in the first hour, one per hour in the first day, one per day in the first month and one per week after that. Versions someone has named are never thinned.
Keeping deleted files longer
A security policy can set Keep deleted files (days) for everyone or a group. For the people covered:
- their deleted files cannot be removed for good, by them or by the daily clean-up, until that many days after they were deleted;
- their files' versions are not thinned away within that many days of being set aside.
When several policies cover someone, the longest number of days applies. Trying to empty the trash early is refused for the items still kept.
Spaces' libraries
A space's libraries follow the space's own rules, set by its owners in the library's settings (Library settings in the space):
- Retention (days): deleted files are kept, and versions not thinned, for that long.
- Hold: keeps the library's trash and versions whatever their age.
Legal holds
Use a legal hold when you must preserve a person's data, for example for a dispute or an investigation.
Putting a person on hold
- Go to Administration, Legal holds.
- Under Put a hold on, type the person's name or username and choose them.
- Type a Reason (it is shown in the list and kept in the audit log).
- Select Put on hold and confirm your password.
While the hold is on, nothing of the person's is deleted for good:
- their trash cannot be emptied, by them or by the clean-up;
- every version of their files is kept, with no thinning;
- their account cannot be deleted;
- mail: requests through Hearth that would destroy messages are refused for every mailbox they have connected. Moving mail to the trash still works. Their Hearth Mail mailbox made by Hearth also gets a hold on the mail server itself, which then holds it for every mail program; the list says "Mail held" once it is in place. Mailboxes on other servers are held only for what goes through Hearth;
- Talk: their deletions of messages are refused, so every message they sent stays.
People on hold go on using Hearth as usual.
Putting a space on hold
- Under Spaces on the same page, select Hold a space.
- Choose the space, type a Reason and select Put on hold.
While a space is held, its libraries' trash and versions are kept, and the space, its libraries and its team cannot be deleted. People can still move files to the trash.
Releasing a hold
Select Release next to the person or space and confirm. The usual rules apply again from then on.
Putting and releasing holds needs a fresh password confirmation, and both are recorded in the audit log.
What retention does not cover
- Mail kept on the mail server follows the mail server's own retention period, which is one setting for the whole mail server. Hearth cannot set it per group.
- Talk keeps no deleted messages to expire: a deletion is a marker, and a held person's deletions are refused.
- Data you remove from the server's disk or database by hand is outside Hearth's control. Keep the backups (Backups and restore) at least as long as your longest retention.