LSYNCD on which server to start, this server is like when the server is synchronized, other servers if more files will be deleted, fewer files will be synchronized from this server.
Modifying the contents of the file will also be synchronized
Rsync can achieve synchronization/backup of files, install configuration step to Linux under rsync Backup/Sync files
LSYNCD implementation of trigger or timed notific
In Linux, there is sync, and in Windows There is similar software, that is, cwrsync, which is divided into servers/clients. The latest version is 3.0.1. Download cwrsync
1. Install cwrsync
The installation process is simple. You can install the server. The server includes the client function. After the server is installed, the rsync and SSH services are added to the service. Go to service management and set it to automatic start. After the installatio
Test successfully, organize a document for you
Sync Tool: Cwrsync
① Server: Cwrsyncserver_4.0.5_installer (Installation process adds Windows account Svccwrsync); Client: Cwrsync_4.0.5_installer
② server-side configuration Rsyncd.conf,web Project Security tab to add Full Control permissions for Svccwrsync, exception port: 52326, create key file: Server_key, finally start service
③ Client Create key
the words installed:# yum-y Install rsync
To perform an asynchronous synchronization operation:
/usr/bin/rsync-avz--progress rsync@192.168.3.191::backup /www
# crontab-e # (You can sync files every three minutes at timed time)
*/3
* * * * Rsync-avz--progress
rsync@192.168.3.191::backup
/www
The following command is complete:
#vi/etc/rsyncd.pasAdd passwordRsyncofpassNote that the client's passwo
Restart the above example indicates that Apache is restarted every 30 minutes between 18:00 and 23:00 every day.
0 * * * * 6/USR/LOCAL/ETC/RC.D/LIGHTTPD Restart the above example indicates that the 11:00 PM restarts Apache every Saturday.
/1 * */USR/LOCAL/ETC/RC.D/LIGHTTPD restart restart Apache every hour
23-7/1 * * * * * * */usr/local/etc/rc.d/lighttpd restart 11 o'clock to the morning 7, restart Apache every hour.
0 4 * mon-wed/usr/local/etc/rc.d/lighttpd Restart monthly 4th and restart Apac
: – Start with a comment[Email protected] ~]# cat/etc/lsync.conf------User Configuration file forLSYNCD.----Simple Example for defaultrsync, but executing moves through on the target.----For more examples, see/usr/share/doc/lsyncd*/examples/--Settings {--pidfile ="/var/run/lsyncd/lsyncd.pid"--nodaemon =false, Inotifymode="Closewrite", Maxprocesses=8, Statusfile="/tmp/lsyncd.status", Statusinterval=Ten, logfile="/var/log/lsyncd/lsyncd.log"}--# Monitor
PrefaceThis article is mainly through the introduction if the Android Studio installed when the solution of the package errors and ideas, the award of the Mermaid than the grant of fish.Environment:
Operating system: Windows 7 SP1
Android Build Environment: Android Studio 2.3.1
jdk:jdk1.8.0_102
Error:Gradle sync Failed:Cause:error in opening zip fileConsult IDE Log for + details (Help | Show Log)Experience:1. Try to reload with t
Resource is out of sync with the file system solution, resourcesync
Prompt:
When searching and deleting files in eclipse, an error dialog box is displayed. The error excerpt is as follows:Resource is out of sync with the file system ......
Problem Analysis:
This problem occurs because files in eclipse are not syn
When you develop an export project on Android, you find that you sometimes get an error, as follows: Problems were encountered during export:Error exporting Palmidentify/bin/jarlist.cache:resource is out of sync with the file system: '/palmidentify/bin/jarlist.c Ache '.Resource is out of sync with the file system: '/pa
Author: Reille
This blog site: http://blog.csdn.net/reille/, reproduced this blog original article please indicate the source.
This article outlines: Resolves an issue in eclipse where the resource is out of sync with the file system.Eclipse version: Eclipse SDK 3.7.0
——————————————————————————————————————————————————————————————————— When searching in eclipse, sometimes the error dialog box pops up after
In the first five articles, the sync for ado.net Service is introduced, starting with this article, which will begin with information about using MSF for file (folder) synchronization. Because the application of file synchronization is very wide, so it can be used to introduce 3-4 articles. Let's start today by introducing the principles of MSF
rsync file sync backup from Linux to LinuxFirst, the environmentServer (server side) that needs to back up files: 192.168.1.201 (RHEL 5)Server (client) receiving backup files: 192.168.1.202 (CENTOS 5)Second, installation configuration1. Server-side configurationA, using the system default installation of Rsync edit/etc/rsyncd.conf file, if not a new one.Vi/etc/rs
Saltstack automatic synchronization configuration file, in fact, I am a combination of crontab to get, is to put the Minion end of the machine into a group, and then for this group to do job execution State.sls to do.Note: In fact saltstack have their own schedule planning tasks. Just look at the dazed, and I bright actually job, and again, if you use automatic synchronization configuration file, if you hav
When you install a desktop client on your computer, the icons for files and folders in the Sync folder are different from the normal state.
File
: The file has been synchronized with the cloud
: file is in sync processing
:
target directory space caused by the inability to synchronize the file error.Parameter description———-A is equivalent to a collection of-rlptgod-U is equivalent to –update and is not updated when the target file is newer than the source file-V Show Synchronized files–progress show the percent progress, transfer rate for file
Use rsync can achieve file backup synchronization, a realistic use of the scene is, in the background upload template files, need to sync to another server, through other domain name address access, this need to upload files in the background automatically synchronized to the external access to the server.
Log the sh script for an rsync sync
Reprinted: http://blog.csdn.net/lotusyangjun/article/details/5611352
This is a problem where the file system is not synchronized because the resource in the project is modified outside eclipse. However, sometimes similar errors are reported if the resource is not modified outside eclipse.Solution: manually refresh the resource manager.(1) In eclipse, right-click the project directory and select F5 (refresh)(2) Set eclipse to automatically refresh.Use
In STS, when you start run on server or view the project file, an error is returned:Resource is out of sync with the file system :....This is a problem where file systems are not synchronized because resources in the project are modified outside eclipse or mycelipse (or files are modified between different systems). Ho
In Eclipse or Mycelipse, start run on server or view project file times wrong:
Resource is out of sync with the file system: '/test_1_struts_spring_hibernate/webcontent/web-inf/. Struts-config.xml.strutside '.
This is an issue in which the file system is out of sync becaus
In eclipse or Mycelipse, when you open a file under a SRC, the following error occurs:
Resource is out of sync with the file system: '/xxxx/src/xxxxx.properties '.
This is an issue in which the file system is out of sync because of modifications to the resource in the pr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.