简体   繁体   中英

lsyncd does not delete files at the reciever side

I have successfully gotten lsyncd to work between two RHEL servers. Everything works great with 1 single exception.

My expectation that is confirmed by documentation is that if the file doesn't exist on the destination, it will be deleted. What is happening is that the only time files that exist on the destination and not in the source are deleted is if I restart the lsyncd service. Is that an expected behavior, or am I missing something?

This is the designed behavior.

Lsyncd is coded to keep the destination synchronous to the source assuming nobody else messes around with the destination.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM