Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lsyncd]

The tag has no usage guidance.

0
votes
1answer
506 views

lsyncd taking time to sync files

lsyncd sometimes takes more than 15 minutes to sync file from remote server to local server. Latency is fine, probably process to. What could be the further reasons for late syncing ? My lsyncd ...
0
votes
1answer
240 views

Lsyncd exclude files or folders not working

I am using lsyncd for live syncing between master and slave and I want to exclude files like .htaccess and git files to slave server. I have configured like this: sync { default.rsync, source="/...
-1
votes
1answer
35 views

Website .htaccess redirection loop issue [closed]

I have my news website hosted in US and it is being managed by cloudfare. I have placed one local server in Nepal as well for faster serving of web pages. MYSql replication and web content sync is ...
0
votes
2answers
348 views

lsyncd not excluding files in the lsyncd.conf files

I have searched the internet but could not find an answer to my problem with lsyncd. I am working on a WordPress project and basically I need to exclude a few files from updating/copying over to the ...
0
votes
0answers
420 views

lsyncd dumping every file transferred to log

I have lsyncd configured thus: settings { logfile = "/var/log/lsyncd/lsyncd.log", statusFile = "/tmp/lsyncd.stat", statusInterval = 1, verbose = false, } sync { ...
1
vote
2answers
597 views

Is it possible to keep two SVN servers synchronized with each commit and both with read/write rights?

We currently have a local server that is used as our main SVN repository for a team of developers. We are planning to setup an Azure VM which will be used as the main repository for our SVN ...
4
votes
2answers
715 views

Live file syncronization across multiple Linux servers with millions of files and directories

What is the best way to synchronize huge data of a running production server? Our server has over 20 million files (small files with 10k and bigger files up to 50MB) stored in 1 millon directories. ...
0
votes
1answer
342 views

Synchronize files to webserver by lsyncd

I have two webapp, old one is WS1 and the new version is WS2. Now I want to synchronize pictures/attachments from WS1 to WS2 to keep both running. I found some tools like lsyncd / unison / GlusterFS. ...
0
votes
1answer
2k views

How to change lsync log level or completely disable it?

I'm using lsync for incremental backup. After 6 month it generated about 6GB log file in /var/log/lsyncd/lsyncd.log. I decide to change log level to reduce log generation. there is an option '-log' ...
0
votes
1answer
451 views

Keeping multiple Apache servers in sync

Overview Currently my company runs 5 web servers that hook into 1 DB/Fileshare server. The DB/Fileshare server uses NFS to mount on the 5 webservers so we only have to update the code once because ...
1
vote
1answer
482 views

Is there a good way to combine the incremental behavior of rdiff-backup with the inotify behavior of lsyncd?

I'm trying to backup a directory (my Zotero data, in particular) whenever it changes (a la syncing with drop box); I would also like to keep a history of backups in case I delete something and want to ...
2
votes
3answers
5k views

csync2 Config command failed error

I've installed csync2 on two nodes with the following config: nossl * *; group cluster { host node1; host (node2); # Slave host key /etc/csync2/csync2.key; include /home; ...
10
votes
2answers
4k views

Vagrant synced folders aren't case sensitive

For our web stack, we are moving from a Windows Server to CentOS. To facilitate development, we're utilizing Vagrant to run CentOS VMs locally. We're using Vagrant's Synced Folders feature to allow ...
1
vote
3answers
6k views

Lsyncd 2.0.4 : excluding a file from syncing

I want to prevent my robots.txt file from syncing to the front end server. Here is my /etc/lsyncd.conf file: settings = { logfile = "/tmp/lsyncd.log", statusFile = "/tmp/lsyncd....
8
votes
4answers
3k views

Is GlusterFS a good pick for keeping webservers in sync?

I've got 2 webservers, with the chance of having to add more servers along the way. Right now I keep these servers in synch using lsyncd + csync2. It works well performance wise because all files are ...