[Newbies] lsyncd - a daemon to continuously synchronize remote directory trees
Tofloor
poster avatar
solaris113
deepin
2025-07-29 13:36
Author

created on 2025jul29

Deepin V23.1

$ uname -a
Linux v231new 6.12.20-amd64-desktop-rolling #23.01.01.23 SMP PREEMPT_DYNAMIC Thu Apr 10 19:56:14 CST 2025 x86_64 GNU/Linux


REMOTE MACHINE:- 192.168.5.161

smb.conf:-

#== Global Settings ==

interfaces = 192.168.5.0/24

#== Share Definitions ==

[targetC]

path = /tank161/testFolder

broweable = yes

public = yes

writable = yes

guestok = yes


LOCAL MACHINE:- 192.168.5.162

lsyncd.conf:-

sync {
   default.rsync,
   source = "/tank162/scan_2025x570",
   target = "/run/user/1000/gvfs/smb-share:server=192.168.5.161,share=targetc",
   delete = false,
}

settings {
   logfile    = "/home/user/Downloads/lsyncd.log",
   statusFile = "/home/user/Downloads/lsyncd.status",
   nodaemon   = true,
}

LOCAL $ gio mount  smb://192.168.5.161/targetC

Authentication Required
Enter user and password for share “targetc” on “192.168.5.161”:
User [you]:
Domain [WORKGROUP]:
Password:

LOCAL $ lsyncd lsyncd.conf

09:32:47 Normal: --- Startup ---

09:32:47 Normal: recursive startup rsync: /tank162/scan_2025x570/ ->
/run/user/1000/gvfs/smb-share:server=192.168.5.161,share=targetc/

09:32:47 Normal: Startup of /tank162/scan_2025x570/ ->
/run/user/1000/gvfs/smb-share:server=192.168.5.161,share=targetc/ finished.

Done

Reply Favorite View the author
All Replies

No replies yet