Questions tagged [lsyncd]
19 questions
0
votes
1 answer
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' in lsync man file and there is a config file in…

Mohammad Ali Akbari
- 1,763
- 5
- 20
- 24
0
votes
1 answer
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 the web servers read from the mount ( PHP/HTML…

go0n
- 59
- 1
- 6
0
votes
0 answers
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,
source = "/home/abc/public_html/course/testcgi/adminfiles",
host =…

Armen Geo
- 1
- 2
-1
votes
1 answer
Website .htaccess redirection loop issue
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 being done.
My requirement: As news editor uploads…

Anand Shrestha
- 41
- 5
- 12