博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
rsync从Windows到Linux的同步备份
阅读量:7113 次
发布时间:2019-06-28

本文共 976 字,大约阅读时间需要 3 分钟。

hot3.png

rsync从Windows到Linux的同步备份

[日期:2012-09-27] 来源:Linux社区  作者:lxw66 [字体:大 中 小]
 
 

 

名称
角色
IP地址
Windows server 2003
服务器
Eth0:192.168.1.1
RHEL5.5
客户端
Eth0:192.168.1.2

 

一、cwRsyncServer服务端配置

下载服务端cwRsyncServer
解压cwRsyncServer_4.0.3_Installer.zip,双击cwRsyncServer_4.0.3_Installer.exe

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

rsync从Windows到Linux的同步备份

我的电脑—右键管理---服务和应用—服务

找到RsyncSever,双击—启动

rsync从Windows到Linux的同步备份

提供桌面交互

rsync从Windows到Linux的同步备份

打开E盘,创建要备份的文件夹,此处取名为benet(此处是文件夹,不是文件)
右键单击benet文件夹,选择属性,切换到安全选项,点添加
输入:SvcCWRSYNC

rsync从Windows到Linux的同步备份

打开C:\Program Files\ICW目录

用记事本打开rsyncd.conf,修改添加以下内容(修改之前先备份,以防出错重改)

rsync从Windows到Linux的同步备份

编辑rsyncd.conf文件

use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
 
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[benet] #备份模版
path = /cygdrive/e/benet
read only = true #客户端只读
hosts allow = 192.168.1.2 #允许连接IP,多个IP中间用英文状态下逗号隔,不限制IP填写 *即可
auth users = benet #允许连接的用户名
secrets file = etc/rsyncd.secrets #存放用户名密码的认证文件路径

rsync从Windows到Linux的同步备份

在C:\Program Files\ICW目录下面新建/etc/rsyncd.secrets文件

用记事本打开,输入用户名和密码
benet:123

转载于:https://my.oschina.net/rootliu/blog/3019666

你可能感兴趣的文章
菜鸟成长之路 第二周
查看>>
关于添加待入库文件列表内容
查看>>
我的友情链接
查看>>
C++string与VC++CString互转
查看>>
迈出第一步
查看>>
GOROOT与GOPATH
查看>>
cocoaPods 使用
查看>>
dos延时功能
查看>>
linux /etc/init.d/functions详解
查看>>
我的友情链接
查看>>
虚拟桌面发展的下一个里程碑,构建在CWC之上的软件定义工作空间
查看>>
3、Juniper SSG550M STATUS状态灯呈红色(内存条问题)
查看>>
mysql原理详解及部署
查看>>
java.lang.OutOfMemoryError: PermGen space及其解决方法
查看>>
离开通讯业入职互联网圈的一些感悟
查看>>
新职员到岗
查看>>
Kali 2016 系统更新
查看>>
linux-overcommit_memory
查看>>
烂泥:通过SSH终端管理ESXI虚拟机
查看>>
投诉数千起 共享单车押金为啥难退
查看>>