Versions Compared

Key

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

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:

  1. 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 (
  2. The Embedded storage object
  3. see Embedded storage).
  4. Go to the Programming tab.
  5. In the Event rules or Cycle rules list, click Create... (see Configuring macros).
  6. Select a
  7. camera or a group of cameras to replicate (1). An implicit selection of a camera is also allowed
  8. start condition that triggers a macro (see Configuring start conditions).
  9. Click the Image Added button below start conditions.
  10. From the drop-down list, select Camera: Start replication.
  11. 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
  12. (see Configuring start conditions)
  13. .
  14. Image Removed
  15. Image Added
    Note
    titleAttention!

    If a macro is

  16. started
  17. initiated by an event from

  18. an 
  19. an input or output (see Configuring start conditions) that is not connected to any camera, you need to select a specific camera

  20. here
  21. for this action. If you select a group of cameras or a camera that initiated the

  22. command
  23. macro, the action doesn't start.

  24. Select
  25. In the Archive parameter, select an archive to which videos
  26. will be
  27. are replicated
  28. (2)
  29. .
  30. Select the replication period

  31. (3).
  32. :

    Option

    Description

    Whole period

    All missing videos made

  33. prior
  34. before to the

  35. command
  36. macro start time are copied

    Offline periods
  37. The system videos
  38. Videos recorded to

  39. embedded storage during offline periods (between consecutive
  40. the backup storage when connection with the server was lost (intervals between the Signal lost and Signal restored events) are copied. If

  41. no
  42. you don't specify the Offset parameter

  43. (see step 5) is specified, the
  44. , the replication covers all corresponding intervals over the last 24 hours

    Time schedule

    Select a time schedule (

  45. see
  46.  All
  47. All videos made according to the time schedule settings

  48. for
  49. over the last24hours

  50. prior to
  51. before the

  52. command
  53. macro start time are copied

    During

    Set the replication duration in HH:MM:SS. Videos

  54. from
  55. over the period [start action, start action + duration] are copied.

  56. An additional
  57. You can specify an additional Offset parameter

  58. can be specified
  59. as needed

  60. (see step 5)
  61. 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

  62. will not
  63. doesn't start until the end event is received

  64. Specify Offset (4), if you specified
  65. 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:

  1. Click the Apply Image Added button.

Configuration of the Start replication action is complete.Image Removed