- 论坛徽章:
- 0
|
rsyncd.conf
- # rsyncd.conf - Example file, see rsyncd.conf(5)
- #
- # Set this if you want to stop rsync daemon with rc.d scripts
- pid file = /var/run/rsyncd.pid
- # Edit this file before running rsync daemon!!
- #uid = nobody
- #gid = nobody
- #use chroot = no
- #max connections = 4
- #syslog facility = local5
- #[ftp]
- # path = /var/ftp/pub
- # comment = whole ftp area (approx 6.1 GB)
- #[sambaftp]
- # path = /var/ftp/pub/samba
- # comment = Samba ftp area (approx 300 MB)
- #[rsyncftp]
- # path = /var/ftp/pub/rsync
- # comment = rsync ftp area (approx 6 MB)
- #[sambawww]
- # path = /public_html/samba
- # comment = Samba WWW pages (approx 240 MB)
- #[cvs]
- # path = /data/cvs
- # comment = CVS repository (requires authentication)
- # auth users = tridge, susan
- # secrets file = /usr/local/etc/rsyncd.secrets
- [mysql]
- path = /home2/back/efast
- comment = MysqlData
- secrets file = /usr/local/etc/rsyncd.secrets
复制代码
使用
- #/usr/local/bin/rsync -vazu --progress --delete data@192.168.0.2::mysql /home2/datatmp --password-file=/usr/local/etc/rsyncd.secrets
复制代码
进行备份的时候出现
- receiving file list ...
- rsync: link_stat "/." (in mysql) failed: Permission denied (13)
- 0 files to consider
- sent 4 bytes received 17 bytes 42.00 bytes/sec
- total size is 0 speedup is 0.00
- rsync error: some files could not be transferred (code 23) at main.c(1298) [receiver]
复制代码
各位大大帮忙看看
已经解决
http://bbs.zg-net.net/read.php?tid=890
[ 本帖最后由 mao1001 于 2006-9-25 10:57 编辑 ] |
|