/file/sync

sync

/file/sync 的 RouterOS 目录参考。


file/sync

Package: rose-storage Type: Directory

标志名称描述
Xdisabled同步条目已禁用。
Iinvalid条目无效,例如它引用了缺失或不可用的路径。
Ddynamic该条目自动创建。
参数类型描述
remote-address *multi { array-id, address: string }要同步的远程 RouterOS 设备的 IP 地址。远程设备必须启用 rsync 守护进程(rsync-daemon)。
mode *enum (upload | download)同步方向: - upload - 将 local-path 文件或文件夹发送到远程设备。 - download - 从远程设备获取 remote-path 到此路由器。
local-pathfile此路由器上的文件或文件夹路径;对于 mode=upload 是源,对于 mode=download 是目标。
remote-pathstring远程设备上的文件或文件夹路径。
userstring远程设备上用于认证的 RouterOS 用户。
passwordstring远程设备上用户的密码。设置后,传输会通过自动创建的 IPsec 进行。
只读参数类型描述
statusstringStatus of the synchronization, for example in sync, making control connection to <ip> or initializing transfer.