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.
What happens after deletion
A normal delete (one video or several) in Video management does not remove the files immediately.
- The video moves to Archive. It can still be restored, and the video file and thumbnail stay in storage.
- The system background job (cron) checks archived videos. The count starts when the video was deleted, not when this setting was saved.
- 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.
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.