Archive data replication is the copying of fixed-size blocks of information (video, audio, metadata) from one archive to another within the same domain. The primary purpose of data replication is to ensure long-term storage and access to multimedia data on remote storage devices. Any archive can act as a source and the receiver of data. Every archive can be both the sender and receiver of data.

Attention!

  • In a block archive, replication is performed as blocks of information accumulate and only to the end of an archive. In an object archive, blocks of information can be replicated to any part of an archive. To transfer the old data from Archive 1 to Archive 2 and continue recording new data to Archive 2, do the following:
    • Replicate the data from Archive 1 to Archive 2, recording isn't performed to Archive 2.
    • Configure the camera recording to Archive 2.
      The events indicating the start and successful completion of data replication are generated in the system (see Event control). These events can be used in macros (see Programming).
  • Archives can use block or object type of storage (see General information about server archives). To successfully replicate data from an object archive to a block archive, you must create the NGP_ARCHIVE_REPLICATE_FRAME_BY_FRAME environment variable with the value (see Creating system variable).

To configure data replication, do the following:

  1. In the list of archives of the domain, select the archive to which you want to copy data from other archives.
  2. Select one or more archives from which you want to copy data. You can also replicate video from the embedded camera storage (see Embedded storage).

  3. Set the replication parameters specified in the table:

    ParameterValueDescription
    Archive replication
    Replication mode

    Select the value for the replication period from the drop-down list

    Attention!

    • If you change the replication period in the existing replication archive, the archive recordings for the previous period are deleted.
    • If you use an object archive, you can record data and replicate it to the same archive at a time if you select the On demand replication period. For example, in the case of continuous recording and a short-term (for example, 5 minutes) loss of connection with the camera, you can use a macro to replicate the data from the embedded storage to the same archive to which the continuous recording is made.


    AlwaysThe value is set by default. Replication is performed constantly
    On demandYou can start replication manually or use macros (see Manual archive replication, Start replication)
    Frame skipping, fps





    NoThe default value is No. Select the required value from the drop-down list
    By key frames
    1 per 240 seconds
    1 per 120 seconds
    1 per 60 seconds
    1 per 30 seconds
    1 per 20 seconds
    1 FPS (MJPEG only)
    2 FPS (MJPEG only)
    3 FPS (MJPEG only)
    4 FPS (MJPEG only)
    5 FPS (MJPEG only)
    6 FPS (MJPEG only)
    7 FPS (MJPEG only)
    8 FPS (MJPEG only)
    9 FPS (MJPEG only)
    10 FPS (MJPEG only)
    11 FPS (MJPEG only)
    12 FPS (MJPEG only)
    13 FPS (MJPEG only)
    14 FPS (MJPEG only)
    15 FPS (MJPEG only)
    16 FPS (MJPEG only)
    17 FPS (MJPEG only)
    18 FPS (MJPEG only)
    19 FPS (MJPEG only)
    20 FPS (MJPEG only)
    21 FPS (MJPEG only)
    22 FPS (MJPEG only)
    23 FPS (MJPEG only)
    24 FPS (MJPEG only)
    25 FPS (MJPEG only)
    26 FPS (MJPEG only)
    27 FPS (MJPEG only)
    28 FPS (MJPEG only)
    29 FPS (MJPEG only)
    30 FPS (MJPEG only)
    Cameras for replication 

    Select the required cameras for each archive whose data you want to copy to the replication archive. To select all cameras, click the Select all button

    Note

    • You can copy the camera data to the replication archive only from one archive. If you select a camera for replication from any archive, this camera becomes unavailable for replication from all other archives.
    • You cannot select cameras if they are already recording to the selected replication archive.
  4. Click the Apply button. To cancel an action, click the Cancel button.

Configuring data replication is complete. If the replication period is set to Always, data replication starts immediately after the settings are applied.

Data replication from the block archive to the object archive

If Axxon One performs continuous recording of streams from cameras to the block archive and you want to transfer data from the block archive to the object archive, you must:

  1. Create a new object archive.
  2. Replicate previously recorded data from the block archive to the object archive.
  3. Disable replication and bind cameras to the object archive for subsequent recording.
  4. Unbind cameras from the block archive, leaving only the object archive active.

As a result, all old recordings transferred from the block archive to the object archive are saved. New camera recordings are saved directly to the object archive.

  • No labels