Rsync remote backup problems-Linux general technology-Linux programming and kernel information, the following is a detailed description. I am using rsync FOR REMOTE BACKUP. This is a problem:
On the client I use rsync-vzrtopg -- progress -- delete root@192.168.1.19 ::
Www/var/backup/
But the result of running the client is: rsync: failed to connect to 192.168.1.19: Connection refused
Rsync error: error in socket IO (code 10) at clientserver. c (97)
Both the client and server install LINUX on a virtual machine in windows.
Complete content of the server-side rsyncd. conf configuration file:
Uid = root
Gid = root
Max connecions = 6
[Www]
Path =/www
Comment = BACKUP WWW
Ignore errors
Read only = yes
List = no
Auth users = root
Hosts allow = 192.168.1.17
Secrets file =/etc/wwwuser. pass
[Database]
Path =/var/lib/mysql
Comment = BACKUP DATABASE
Ignore errors
Read only = yes
List = no
Auth users = dbuser
Hosts allow = 192.168.1.17
Secrets file =/etc/dbuser. pass
[Conffile]
Path =/etc/httpd
Comment = BACKUP CONFFILE
Ignore errors
Read only = yes
List = no
Auth users = confuser
Hosts allow = 192.168.1.17
Secrets file =/etc/confuser. pass
The client automatically obtains the IP address 192.168.1.17.
The automatically obtained IP address on the server is 192.168.1.19.
The two hosts can Ping each other's IP address. How can an error be reported? Thank you very much for your comments ~
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service