# 架设 Rsync 服务的一些资料

Programming @ 08 December 2003

Rsync 是一?高效的、免?的文件同步服务。

基本配置文件:

uid=nobody
gid=nobody
log file=/var/log/rsyncd.log
pid file=/var/run/rsyncd.pid
lock file=/var/run/rsync.lock

[web]
path=/your/backup/path
comment=test comment
ignore errors
read only=yes
auth users=user
secrets file=/pass/file/here

注意上面的 password-file 的属性要为 600

  1. How to do encrypted remote backup using rsync.
  2. 用rsync对网站进行镜像备份
  3. rsync Man page
  4. rsyncd.conf Man page
  5. Rsync usenet
  6. 在Windows下使用Rsync

2004年2月3日10时59分

今天用到了 Rsync 的 exclude/include功能,可以在配置文件中使用,也可以在客户端的命令中使用。

eg: /usr/bin/rsync -azv --include="/*/javadoc/**"
--exclude="*"
server:/web/api/javadoc/

相关新闻组文章:

  • [lug] rsync exclude/include
  • CYGWIN Rsync exclude/include problem

    Tags: ,
  • Leave a Reply