Skip to main content
Version: current

sync


file/sync​

Package: rose-storage
Type: Directory

FlagNameDescription
XdisabledThe sync entry is disabled.
IinvalidThe entry is invalid, for example it references a missing or unusable path.
DdynamicThe entry is created automatically.
ArgumentTypeDescription
remote-address ( mandatory )multi { array-id, address: string }IP address of the remote RouterOS device to synchronize with. The remote device must have the rsync daemon enabled (rsync-daemon).
mode ( mandatory )enum (upload | download)

Direction of the synchronization:

  • upload - send the local-path file or folder to the remote device.
  • download - fetch remote-path from the remote device to this router.
local-pathfileFile or folder path on this router; the source for mode=upload and the destination for mode=download.
remote-pathstringFile or folder path on the remote device.
userstringRouterOS user on the remote device used for authentication.
passwordstringPassword of the user on the remote device. When it is set, the transfers run over automatically created IPsec.
Read-only ArgumentTypeDescription
statusstringStatus of the synchronization, for example in sync, making control connection to <ip> or initializing transfer.