Where to set it

The setting is on System settings (/admin/settings), in Advanced settings. The field is labeled Permanently delete files after. The screenshots below are from the Hebrew interface, where the same field is מחיקה סופית של קבצים אחרי.

Open the page from the menu (Settings) or go directly to the address, for example https://dev.video/admin/settings. In the side navigation choose Advanced settings — the field is the first one in that section.

System settings navigation, Advanced settings item
In the settings navigation, choose Advanced settings (הגדרות מתקדמות).
Permanently delete files after, with 90 days selected as the default
Permanently delete files after — the default is 90 days (90 ימים).
Help text: files are permanently removed only after the selected number of days
The help button: after a video is deleted, files are permanently removed only after the selected number of days.

What happens after deletion

A normal delete (one video or several) in Video management does not remove the files immediately.

  1. The video moves to Archive. It can still be restored, and the video file and thumbnail stay in storage.
  2. The system background job (cron) checks archived videos. The count starts when the video was deleted, not when this setting was saved.
  3. Once at least the selected number of days has passed, the files are removed from storage and the status becomes Deleted from system. The files cannot be restored after that.
Changing the period applies to videos already in Archive. Shortening it (for example from 90 to 7) removes files for videos that have already waited at least the new number of days, on the next cron run. Lengthening it keeps the files until the new number of days has passed since deletion. Saving does not delete anything at that moment.

Without a cron run, the files stay in storage even after the period has ended.

Options

Only the fixed periods below can be selected. A custom number of days cannot be typed in.

Value When files are removed
7 days One week after deletion
30 days One month after deletion
60 days Two months after deletion
90 days (default) Three months after deletion
180 days Half a year after deletion
365 days One year after deletion

If the stored value is not one of these, the system treats it as 90 days.

Deletion without waiting

Delete from Excel (/videos/excel_delete) skips the waiting period. After confirmation the videos are marked deleted, and the files are removed on the next cron run. See Video management — permanent deletion from Excel.

Save and locked setting

After choosing the period, click Save at the bottom of the settings page. Without saving, the choice is not kept.

If the value is set in the server configuration file, the field is locked in the interface and the page shows that the setting is locked at the system level. In that case the value is changed in configuration, not on this screen.

The rest of the settings page is described in the System settings guide.