LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2021, 04:55 AM   #1
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
Live file synchro


Dear LQ,

My goal is to copy each file received in a directory on host A to be immediately transferred to host B. If file is modified, the modified version should also immediately be transferred.

I have searched for "sync" in my package manager and a lot of results came out. The relevant ones (my own selection) were :

- csync2
- dirvish
- fssync
- inosync
- lsyncd
- clsync
- unison


I am looking for recommendations and feedback/experience on these tools.

rsync in a cron is already used, so don't bother recommending that.

Thanks for your input.
 
Old 05-19-2021, 05:09 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
inotifywatch followed by rsync. KISS.
 
Old 05-19-2021, 06:28 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Beware of incrond, it will crash spectacularly on recursive subdirectory creation
 
Old 05-23-2021, 07:04 AM   #4
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369

Original Poster
Blog Entries: 1

Rep: Reputation: 49
So I tried lsyncd but the problem is that my source folder is a webdav mount.
There is no kernel notification mechanisme for remote filesystems like nfs,
cifs, webdav, sshfs etc. So lsyncd won't work for this scenario. Still trying
to figure out a solution...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP + Synchro partial + ACL gnu699 Linux - Server 1 09-07-2012 11:31 AM
I wanna make a live slackware live cd. Please help cyto Slackware 7 08-04-2011 02:23 AM
Kubuntu 10.10 live won't boot "unable to find a medium containing a live file system" mogplus8 Linux - Newbie 6 10-07-2010 01:41 AM
SQL synchro macadam Linux - Software 2 02-19-2005 12:56 PM
Searching for clock-synchro to world time server Schmurff Linux - Software 1 03-09-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration