Knowledge base > Components > File storage
Amidst the excitement of setting up cameras and configuring monitoring software, one critical aspect often overlooked is file storage organization.
Effective file storage management is the backbone of any surveillance system, serving as the repository for invaluable footage capturing crucial moments. Yet, many DIY enthusiasts tend to underestimate its significance, resulting in haphazardly stored files that can compromise the system's integrity and usefulness.
In Banalytics, file storage assumes a dedicated folder in a PC or server file system that is supposed to store specific recordings. You can separate continuous recordings and recordings started on motion detection into different folders. You can build the file storage with the ontology corresponding to your cameras and their tasks.
Click the + button next to a File storage sub-menu under the Banalytics server.
Value
Required?
Description
Default
Restart on failure
Required
Restart mode upon catching an error:
Stop on failure - not restarted until triggered manually.
Immediately - tries to restart automatically immediately after catching an error.
10 sec - tries to restart automatically with a 10-seconds delay after catching an error.
30 sec - tries to restart automatically with a 30-seconds delay after catching an error.
1 min - tries to restart automatically with a 1-minute delay after catching an error.
Default to 10 sec
Title
Required
Name of file storage. A folder with the specified title will be created in the selected path. So, we advise you to set the title, which defines the type of content.
Examples: "Motion Recording," "Continuous recording"
File storage provider
Required
Local file system. For now, it's the only file storage provider we support.
Path
Required
Path to the target folder in the selected file storage provider. Click the right mouse button to add a folder or delete one.
Access mode
Required
Read. The mode assumes only the possibility of playing video files from the storage.
Read / Write. File storage with the Read / Write access mode can be configured for video recordings. The mode assumes the possibility of playing and adding video files from the storage.
Read / Write / Detele. This mode allows configuring an analogue of an essential feature in file storage systems: clean-up. Banalytics enables users to set up autom ated rules to manage file clean-up. You can define criteria based on the total size, time, or number of files.
Limit by
Required
Defines storage capacity limit. Disabled for the Read access mode
No limit - files are recorded till reaching the capacity of the file storage
By size (Mb) - max size in megabytes
By time (Hours) - max time in hours
By object count - max count of the files.
Default to No limit
Clean up period
Optional
The frequency of the cleanup job. If the storage does not reach the capacity limit at the job run, it is not cleaned.
Limit level
Optional
Defines the level of storage subfolders hierarchy the capacity limit is applied to
0 - Limit applies to the root folder of the file storage
1 - Limit applies to each subfolder of the root folder of the file storage
2 - Limit applies to each subfolder at the second level of subfolders of the file storage
...
10 - Limit applies to each subfolder at the tenth level of subfolders of the file storage.
Default to 0
Limit value
Optional
Storage capacity limit value in the corresponding units of measure.
Default to 1024
Backup files instead of removing
Optional
Reference to another file storage. Clean up job will move recordings to the storage in case it's selected.
Enable upload
Optional
It allows to upload files to the file storage from the device you use to access Banalytics server.
Move enabled
Optional
It allows files and folders inside the file storage to be restructured. Drag And Drop files/folders and confirm the action.
UI safe operations
Optional
If enabled, every move/delete operation will require confirmation, so you'll be safe from accidental actions.
Enable UI file cache
Optional
If enabled, the viewed files will be cached in the browser's memory and played back faster. This fastens the playback of large video files if you go back and forth through the recordings list.
UI file cache TTL
Optional
UI file cache TTL (Time to Live) is the time period in minutes after which the cached files will be deleted from the browser's memory.