![]() Rsync uses the TCP protocol for its transfers. Make sure this port is open in your firewall. port: If you do not want the rsync daemon to run on its default port (873) then you may specify a new port here. Contents deleted at startup and during normal operationĭelete = false #No files on the target will be deleted. pid file: The process id file the daemon uses. StatusFile = "/var/log/lsyncd/lsyncd.status",ĭelete delete = true #Delete content that is not in the source on the target. By default, a unix domain socket (or IPC socket) is created at /var/run/docker. Rsh = "/usr/bin/ssh -p 22 -o StrictHostKe圜hecking=no" Daemon socket option The Docker daemon can listen for Docker Engine API requests via three different types of Socket: unix, tcp, and fd. MaxDelays How many monitoring events are synchronized once,even if delay Time is synchronized before it arrives InotifyMode Appoint inotify Monitored events, default is CloseWrite,It can also be Modify or CloseWrite or Modify StatusInterval take lsyncd The state of the statusFile Interval, default 10 seconds Nodaemon Indicates that daemon mode is not enabled by default To make rsync start automatically at boot, we must use the systemctl enable subcommand: sudo systemctl enable rsync. Lsyncd configuration files are written in lua grammar settings Lsyncd 2.2.1 requires Rsync > = 3.1 on all source and target computers installĬonfiguration file description/etc/nf Custom operation configurations can even be written from scratch, from shell scripts to code written in Lua Version requirements Lysncd does not interfere with local file system performanceįine-grained customization can be achieved through configuration files. Lsyncd is relatively easy to install and does not require new file systems or block devices. Lysncd does not interfere with local file system performance Fine-grained customization can be achieved through configuration files. Lsyncd is a lightweight real-time mirror solution. The default synchronization method is rsync Lsyncd is a lightweight real-time mirror solution. The default synchronization method is rsync Lsyncd organizes these events for a few seconds and then generates one or more processes to synchronize changes to the remote file system. Lsyncd uses file system event interfaces (inotify or fsevents) to monitor changes to local files and directories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |