cwRsync是一个可以在Windows下运行的rsync
这样我们即可实现 自己本地Windows主机将远程服务器的数据资料保留了。

服务端是不需要安装配置rsync的。

首先下载cwRsync
下载文件
这个文件只能在登入之后下载。请先 注册登入


安装到本机。
请注意设置本地路径。
通过cwrsync备份时候本地路径写法比较尴尬。我原来安装在C盘想备份到D盘 则路径写成d:\ 谁知道无法执行。也许是:引起的吧。

后来我就安装到需要备份的盘下。例如


d:\site_bak\cwrsync


然后开始 运行 cmd调出命令提示符 进入rsync

cd d:\site_bak\cwrsync\bin


开始执行备份命令

rsync -vzrtopg --progress --delete username@url:dir test

username = ssh 登录名
url = 服务器连接地址,可以填写域名或者ip
dir = 需要备份的目录
请注意!dir目录username必须有访问权限。否则可是无法访问的。
test则是本机备份目录。那么备份后的文件就在

d:\site_bak\cwrsync\bin\test
学习笔记 | 评论(0) | 引用(0) | 阅读(1067)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]