Go to documentation repository
Page History
General information
This macro starts the replication process—copying blocks of information of a fixed size (video, audio, metadata) from one archive to another within the domain (see Configuring data replication).
Configuring an action
command starts the replication process. To configure the commandmacro, do the following:
- Configure on-demand replication (see Configuring data replication) if replication is performed from the archive. To replicate from the embedded storage of a camera, enable the corresponding object ( The Embedded storage object).Select a camera or a group of cameras to replicate (1). An implicit selection of a camera is also allowed—
- see Embedded storage).
- Go to the Programming tab.
- In the Event rules or Cycle rules list, click Create... (see Configuring macros).
- Select a start condition that triggers a macro (see Configuring start conditions).
- Click the button below start conditions.
- From the drop-down list, select Camera: Start replication.
- In the Camera parameter, select a camera or group of cameras for replication. In addition, an implicit camera selection is allowed—Camera that initiated command execution (see Configuring start conditions)
- .
Note title Attention! If
the start of the macro was triggered a macro is initiated by an event from
an an input or output (see Configuring start conditions) that is not connected to any camera, you need to select a specific camera
herefor this action. If you select a group of cameras or a camera that initiated the
commandmacro, the action doesn't start.
Select - In the Archive parameter, select an archive to which videos will be
- are replicated (2)
- .
Select the replication period
(3).:
Option
Description
Whole period
All missing videos made
prior before to the
command macro start time are copied
Offline periods The system videos Videos recorded to
embedded storage during offline periods (between consecutive the backup storage when connection with the server was lost (intervals between the Signal lost and Signal restored events) are copied. If
no you don't specify the Offset parameter
(see step 5) is specified, the , the replication covers all corresponding intervals over the last 24 hours
Time schedule
Select a time schedule (
see see Creating schedules).
All All videos made according to the time schedule settings
for over the last24hours
prior to before the
command macro start time are copied
During
Set the replication duration in HH:MM:SS. Videos
from over the period [start action, start action + duration] are copied.
An additional You can specify an additional Offset parameter
can be specified as needed
(see step 5)Finish after
Select one or more end events. All videos between the start point (when the action starts) and the end point (when the event is received) are copied.
Attention! Replication will not doesn't start until the end event is received
Specify Offset (4), if you specified - In the Offset parameter, specify the offset value if you selected the During parameter for replication in previous step. Videos from the period [start action − offset, start action + duration − offset] are copied.
To run replication on schedule (corresponding to Time schedule 1), configure the macro as follows:
- Click the Apply button.
Configuration of the Start replication action is complete.