Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Replication of the archive data refers to 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. 

Note
titleAttention!
  • 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).

...

  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).
    Image Modified

    In the Replication period parameter, select the replication period:

  3. Always—replication is performed continuously. 

  4. 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

  5. Time schedule—replication is performed within the specified time schedule (see Creating schedules). For example, to distribute the CPU load, you can configure replication to run at night.
  6. On demand—replication is started manually or using macros (see Manual archive replication, Start replication).

    Note
    titleAttention!
    • If you change the replication period in
    an
    • the existing replication archive, the archive recordings for the previous period are deleted.
    • If you use an object archive,
    it is possible to
    • 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,
    five
    • 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

    In the Cameras for replication parameter, for each archive, select cameras from which data are copied

    to the replication archive. To select all cameras, click the Select all button

    .


    Info
    titleNote
    Data from a particular camera can be copied
    • You can copy the camera data to the replication archive only from one archive.
    When
    • If you select a camera for replication from
    an
    • any archive,
    the
    • this camera becomes unavailable for replication from
    any
    • all other
    archive
    • archives.
    • You cannot select cameras if they are already recording to the selected replication archive.
  7. Click the the Apply Image Modified button. To cancel an action, click the Image Added button.

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

...