~ rsync server for centos ~

| rsync | No Comments
yum -y install rsync
nano /etc/rsyncd.conf

 # any name you like

[backup]
# destination directory for copy

path = /home/backup
# hosts you allow to access

hosts allow = 10.0.0.30
hosts deny = *
list = true
uid = root
gid = root
read only = false
[[email protected] ~]# mkdir /home/backup

[[email protected] ~]# systemctl start rsyncd

[[email protected] ~]# systemctl enable rsyncd 

 

トラックバック

このブログ記事に対するトラックバックURL:

コメント & トラックバック

No comments yet.

Comment feed

コメントする

Smiley face

August 2018
S M T W T F S
« Jul    
 1234
567891011
12131415161718
19202122232425
262728293031