WINDOWS下安装和配置RSYNC(CWRSYNC).doc_第1页
WINDOWS下安装和配置RSYNC(CWRSYNC).doc_第2页
WINDOWS下安装和配置RSYNC(CWRSYNC).doc_第3页
WINDOWS下安装和配置RSYNC(CWRSYNC).doc_第4页
WINDOWS下安装和配置RSYNC(CWRSYNC).doc_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

学习资料收集于网络,仅供参考: cwRsyncServer_4.1.0_Installer.exe Rsyncrsync windows RsyncServer rsyncd.conf linux:use chroot = falsestrict modes = falselock file = rsyncd.lockhosts allow = 1max connections = 5port = 28950gid = 0uid = 0log file = /cygdrive/f/RsyncLog/rsyncd.log# Module definitions# Remember cygwin naming conventions : c:work becomes /cygdrive/c/workcr173compath = /cygdrive/d/cr173/secrets file = /cygdrive/e/Setting/Rsync/rsync_db.PSread only = nolist = notransfer logging = yes1 IP IP /24/IP*strict modes = false ,pid = 0,uid = 0 auth users data_backupsecrets file data_backuppathuse chrootuse chroottruersyncchrootpath rootschroottruenumeric idsmunge symlinkscharsetmax connections0log file:rsyncsyslog facilityauth, authpriv, cron, daemon, ftp, kern, lpr, mail, news, security, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6 and local7. The default is daemon.max verbositylock filemax connectionsread onlytruefalsetruewrite onlytruefalsetruelistfalsetrueuid-2 Nobody .gid:-2 Nobody .fake superfilterexclude()exclude-excludeexcludeexcludeuid/gidinclude-includeincludeexcludeexclude/includeexclude fromexcludeexcludeinclude fromincludeincludeincoming chmodoutgoing chmodauth userssecrets fileusername:passwordstrict modestruersynctruehosts allowIPIP/24/IP*hosts denyrsynchosts allowhosts denyignore errorsrsyncdserverIOrsyncIO-deleteIOignore nonreadablerysnctransfer loggingrsyncftplog formattransfer logging#The single-character escapes that are understood are as follows:#%a the remote IP address#%b the number of bytes actually transferred#%B the permission bits of the file (e.g. rwxrwxrwt)#%c the total size of the block checksums received for the basis file (only when sending)#%f the filename (long form on sender; no trailing /)#%G the gid of the file (decimal) or DEFAULT#%h the remote host name#%i an itemized list of what is being updated#%l the length of the file in bytes#%L the string -; SYMLINK, =; HARDLINK, or (where SYMLINK or HARDLINK is a filename)#%m the module name#%M the last-modified time of the file#%n the filename (short form; trailing / on dir)#%o the operation, which is send, recv, or del. (the latter includes the trailing period)#%p the process ID of this rsync session#%P the module path#%t the current date time#%u the authenticated username or an empty string#%U the uid of the file (decimal)#For a list of what the characters mean that are output by %i, see the -itemize-changes option in the rsync manpage.timeoutIPrsync0rsync600refuse optionsdont compress = *dont compress*.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbzrsync rsyncroot:rootadmin:12345:WindowsE:SettingRsyncrsync_db.psRsycn cwRsyncServer 4. RsyncServer 5. RTcp 28950 6. dostelnet 0 28950 (telnet-;-;windowsTelnet)telnetRSYNCD: 30.0 1. Rsync;2. RsyncRsynctelnet Rsynctelnet 0 28950RSYNCD: 30.0 3. DosRsyncbinC:Program FilescwRsyncbin:rsync -port=28950 -vzrtopg -progress -delete 0:data_backup /cygwin/f/dataBackup -password-file=/cygdrive/e/Setting/Rsync/rsync_db.ps-port=28950 # -vzrtopg -progress # -delete # /cygwin/f/dataBackup # WindowF:dataBackupdata_backup # rsyncd.conf0 # RsyncIP-v, -verbose -q, -quiet -c, -checksum -a, -archive -rlptgoD-r, -recursive -R, -relative -b, -backup filename-suffix-backup-dir (filename)-suffix=SUFFIX -u, -update DST()-l, -links -L, -copy-links -copy-unsafe-links SRC-safe-links SRC-H, -hard-links -p, -perms -o, -owner -g, -group -D, -devices -t, -times -S, -sparse DST-n, -dry-run-W, -whole-file -x, -one-file-system -B, -block-size=SIZE 700-e, -rsh=COMMAND rshssh-rsync-path=PATH rsync-C, -cvs-exclude CVS-existing DST-delete DSTSRC-delete-excluded -delete-after -ignore-errors IO-max-delete=NUM NUM-partial -force -numeric-ids ID-timeout=TIME IP-I, -ignore-times -size-only -modify-window=NUM 0-T -temp-dir=DIR DIR-compare-dest=DIR DIR-P -partial-progress -z, -compress -exclude=PATTERN -include=PATTERN -exclude-from=FILE FILE-include-from=FILE FILE-version -address -config=FILE rsyncd.conf-port=PORT rsync-blocking-io shellIO-stats -progress -log-format=formAT -password-file=FILE FILE-bwlimit=KBPS I/OKBytes per second -h, -help C:Program FilescwRsyncbinSyncDB_NoAuth.cmdrsync -port=28950 -vzrtopg -progress -delete 0:data_backup /cygwin/f/dataBackup -password-file=/cygdrive/e/Setting/Rsync/rsync_db.pswindows xp/Server 2003 : -;-;-;-;-;windows 7/Server 2008 : -; -; -; ERROR: invalid uid nobodyrsync error: error starting client-rsyncd.confuid = 0gid = 01: rsync: read error: Connection reset by peer (104)rsync error: error in rsync protocol data stream (code 12) at io.c(794) receive r=3.0.2 rsync 2ERROR: chdir failedrsync error: error starting client-server protocol (code 5) at main.c(1495) receiver=3.0.2cwrsyncSvcwrsyncSvcwrsync3ERROR: failed to open lock filersync error: error starting client-server protocol (code 5) at main.c(1495) receiver=3.0.2 rsync.conf lock file = rsyncd.lock 4 rsync: could not open password file /cygwin/e/Setting/Rsync/rsync_db.pwd: No such file or directory (2)POSIX/cygdrive/e/Setting/Rsync/rsync_db.pwd5ERROR: auth failed on module data_backup rsync error: error starting client-server protocol (code 5) at main.c(1506) Receiver=3.0.7rsync6006 password file must not be other-accessiblersyncd.pwd rsyncd.sec600chmod 600 rsyncd.pwd, Windows7ERROR: invalid uid nobody . rsync error: error starting client-server protocol (code 5) at main.c(1506) Receiver=3.0.7rsyncd.confuid = 0gid = 08 ERROR: chroot failedrsync error: error starting client-server protocol (code 5) at main.c(1522) receiver=3.0.39ERROR: Unknown module ‘tee_nonexists’rsync error: error starting client-server protocol (code 5) at main.c(1522) receiver

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论