Questions tagged [lsyncd]
The lsyncd tag has no usage guidance.
19
questions
0
votes
0
answers
324
views
lsyncd include specific files exclude rest
I am using lsyncd version 2.2.2. here is my current code.
settings {
logfile = "/etc/lsyncd.log",
statusFile = "/etc/lsyncd.status",
insist = true,
}
sync {
default.rsyncssh, ...
1
vote
0
answers
2k
views
Lsyncd runs but does not update files
So I installed the daemon and configure it as :
matias@~
$ cat /etc/lsyncd/lsyncd.conf.lua
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/tmp/lsyncd.stat",
...
1
vote
0
answers
3k
views
Backup best practice with lsyncd: delete or not delete
I have set up a backup of some working folders of a server (running with Centos 7) to a remote disk using lsyncd.
It's great, however I'm quite undecided about what to do about file deletion:
If I ...
1
vote
2
answers
4k
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
1
answer
3k
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
1
answer
71
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
2
answers
1k
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
0
answers
2k
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
2
answers
2k
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 ...
5
votes
2
answers
1k
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
1
answer
624
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
1
answer
4k
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
1
answer
665
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
1
answer
670
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
3
answers
7k
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
2
answers
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
3
answers
9k
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....
10
votes
4
answers
4k
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 ...
24
votes
6
answers
10k
views
Bidirectional real-time sync of large file tree between two distant linux servers
By large file tree I mean about 200k files, and growing all the time. A relatively small number of files are being changed in any given hour though.
By bidirectional I mean that changes may occur on ...