rsync备份多个目录怎么写?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
木泥黑
帖子: 1339
注册时间: 2008-10-18 12:41

rsync备份多个目录怎么写?

#1

帖子 木泥黑 » 2009-02-12 10:46

comment = root
path = /home/(这里要用多个目录怎么写)
use chroot = yes
lock file = /var/lock/rsyncd
log file = /var/log/rsyncd.log
read only = yes
list = yes
uid = root
gid = root
auth users = databackup
secrets file = /etc/rsyncd.secrets
strict modes = yes
hosts allow = 192.168.2.3
头像
yjsword
帖子: 524
注册时间: 2007-03-14 20:33
来自: 南京
联系:

Re: rsync备份多个目录怎么写?

#2

帖子 yjsword » 2009-02-12 11:37

代码: 全选

[web]
path = /dev/web
ignore errors
read only = true
list = false
hosts allow = 192.168.1.18
hosts deny = 0.0.0.0/32

[blog]
path = /dev/blog
ignore errors
read only = true
list = false
hosts allow = 192.168.1.18
hosts deny = 0.0.0.0/32
……
诸如此类的
For Linux
http://blog.yjsword.com/
南無觀世音菩萨
头像
木泥黑
帖子: 1339
注册时间: 2008-10-18 12:41

Re: rsync备份多个目录怎么写?

#3

帖子 木泥黑 » 2009-02-12 12:17

有没有搞错啊楼上的大哥,这样多麻烦
回复