File Storage

In Banalytics, file storage provides the repository where recorded video files, snapshots, and other media assets are saved. Many of your system's tasks rely on it: motion-activated video recording, continuous recording, event snapshots, backups, and more. Without a properly configured file storage component, these tasks won't be able to persist media.

Although file storage often resides on the same machine as your Banalytics server, it can also point to remote or networked drives-enabling flexibility in scaling storage or backing up data.

Example

To add a new file storage, click the button next to the File storage submenu under your Banalytics server.

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.

Configuration Parameters

Value Required (Yes/No) Description Default
uuid Yes A unique, automatically generated identifier for this component instance. This value is not editable.
Restart on failure Yes 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 Yes 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 Yes Local file system. For now, it's the only file storage provider we support.
Path Yes

Path to the target folder in the selected file storage provider. Click the right mouse button to add a folder or delete one.

Example
Access mode Yes Defines permitted operations:
  • 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.
Default to Read/Write
Limit by Yes 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 No The frequency of the cleanup job. If the storage does not reach the capacity limit at the job run, it is not cleaned. Default to 15 minutes
Limit level No 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 No Storage capacity limit value in the corresponding units of measure. Default to 1024
Backup files instead of removing No Reference to another file storage. Clean up job will move recordings to the storage in case it's selected.
Enable upload No

Allows to upload files to the file storage from the device you use to access Banalytics server.

Example
Default to No
Enable moving No It allows files and folders inside the file storage to be restructured. Drag and drop files/folders and confirm the action. Default to No
UI safe operations No If enabled, every move/delete operation will require confirmation, so you'll be safe from accidental actions. Default to No
Enable UI file cache No

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.

Example
Default to No
UI file cache TTL No 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. Default to 60
Was this page helpful ? Yes No