Vigiora

Den här artikeln finns ännu inte på Svenska. Här är den på engelska.

A retention plan for four cameras on one disk, set in Vigiora step by step

A worked example: four cameras, one 1 TB disk. Which stream each camera records, how many days it keeps, how to set it in Vigiora Server, and how to check that the disk will last.

· 5 min läsning · Visa som Markdown

Dela
A 1 TB disk shared by four cameras: front door 462 GB, driveway 144 GB, garage 98 GB, living room 21 GB, and 205 GB free, in sample figures

In How long should an NVR keep recordings? we gave suggested days for each kind of place. This article turns that into settings. We take a house with four cameras and one 1 TB disk, write the plan, and set it in Vigiora Server.

The house and the figures are a sample. The settings, the steps and the way Vigiora counts are real.

The plan#

A disk sold as 1 TB holds about 930 GB. Four cameras have to share it.

CameraWhat it recordsDaysDisk
Front doorMain stream14462 GB
DrivewaySub-stream, and HD when there is movement14144 GB
GarageSub-stream1498 GB
Living roomSub-stream321 GB
Total725 GB

That is about 78% of the disk, with 205 GB left free.

A bar for the 1 TB disk split between the four cameras, with a table of stream, days and GB for each
The plan as a picture. Sample figures from Vigiora's own estimate, not a real house.

The reasons, camera by camera:

  • Front door. This is where you may need to read a face. It records the full picture, the main stream, at about 33 GB a day. 14 days covers a holiday.
  • Driveway. It is empty most of the day. It records the small sub-stream all the time, at about 7 GB a day, and keeps the full picture only while something moves.
  • Garage. Nothing to read here, but you want to know when the door opened. The sub-stream is enough.
  • Living room. You look back a day or two at most. 3 days, sub-stream.

If all four cameras recorded the main stream, the same disk would be full after about 7 days.

Set it, one camera at a time#

Five numbered cards: turn on Recording, pick the stream, pick the days, read the estimate, save and check the disk
The five steps. Everything is on one tab of the camera's settings.
  1. Open the Recording tab

    Open the camera from Cameras and click Edit. Click Recording.

  2. Turn on Recording

    Tick Recording. It is off on a new camera.

  3. Pick the stream

    For the front door, leave Record low quality (sub-stream) unticked. For the other three, tick it. For the driveway, also tick Record in HD when there is movement under it.

  4. Pick the days

    Choose Retention: 14 days for the front door, the driveway and the garage, 3 days for the living room.

  5. Read the estimate and save

    Estimated disk usage shows the size for the days you picked, for example ≈ 98 GB. If the number is what you planned, click Save. A red REC badge appears on the camera.

Do the same for each camera. The server deletes recordings older than the days you chose. The clean-up runs every 10 minutes and needs nothing from you.

What the estimate tells you#

For a new camera, the figure is an estimate from the picture size and the frame rate. After the camera has recorded for one hour, Vigiora measures what that camera really writes, and the note under the figure changes to Measured. A quiet garage may turn out much smaller than planned. A driveway with trees moving in the wind may turn out bigger.

So come back the next day and read the four figures again. If the total is over what you planned, lower the days on the camera you look at least. See How much disk a camera uses.

The driveway: small all day, sharp when it matters#

Record in HD when there is movement is the option that makes this plan fit. The driveway records the sub-stream all day. When something moves, Vigiora also saves the main stream as an HD clip. The clip starts about 10 seconds before the movement and ends about 20 seconds after it stops.

In Playback, a green line on the timeline shows where an HD clip exists, and the HD button plays that moment in full quality. HD clips are kept for the same days as the camera's other recordings.

The option needs a camera with two streams, and it needs Vigiora Server 1.6.31 or newer. See Record in HD when there is movement.

Two checks after a week#

Is there room for more? Open Settings. The Capacity card says about how many more cameras the server can take, and what the limit is: disk, processor or network. See Capacity.

Do you want longer than 14 days? Vigiora can make old recordings smaller. In Settings, under Cameras and recording, then Storage, tick Compress recordings older than 7 days. Recordings older than a week then take about a third to a fifth of the space, with a little less fine detail. It only touches cameras that keep more than 7 days, and it cannot be undone for recordings already compressed. With it on, the front door could move from 14 to 30 days on the same disk. See Compress old recordings.

Keep one moment longer than the plan#

A retention plan is for ordinary days. When something happens, do not raise the days for the whole camera. Open the moment in Playback, export a clip, and save it to the Library. It stays there after the recording it came from has been deleted.

The same plan from a script#

If you have many cameras, set the plan with the API. PATCH /cameras/{id} with a key that has the cameras:write scope changes recording, the stream and the days. GET /cameras/{camera_id}/storage returns the same disk figures as the Recording tab. See Public API v1.

That is the whole plan: one number per camera, the right stream for each, and a look at the measured figures the next day. If you do not have a server yet, download Vigiora. Recording is free on every plan, on any number of cameras.

Dela

Prova med dina egna kameror

Vigiora Server är gratis med obegränsat antal kameror. AI på 2 kameror är gratis under kampanjen. Installera den på en Linux-dator med ett kommando.