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 for event-driven macros)
  13. .
  14. Image Removed
  15. Image Added
    Note
    titleAttention!

    If

  16. the start of the macro was triggered
  17. a macro is initiated by an event from

  18. an 
  19. an input or output (see Configuring start conditions

  20. for event-driven macros
  21. ) that is not connected to any camera, you need to select a specific camera

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

  24. command
  25. macro, the action doesn't start.

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

  33. (3).
  34. :

    Option

    Description

    Whole period

    All missing videos made

  35. prior
  36. before to the

  37. command
  38. macro start time are copied

    Offline periods
  39. The system videos
  40. Videos recorded to

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

  43. no
  44. you don't specify the Offset parameter

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

    Time schedule

    Select a time schedule (

  47. see
  48.  All
  49. All videos made according to the time schedule settings

  50. for
  51. over the last24hours

  52. prior to
  53. before the

  54. command
  55. macro start time are copied

    During

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

  56. from
  57. over the period [start action, start action + duration] are copied.

  58. An additional
  59. You can specify an additional Offset parameter

  60. can be specified
  61. as needed

  62. (see step 5)
  63. 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

  64. will not
  65. doesn't start until the end event is received

  66. Specify Offset (4), if you specified
  67. 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