相关讨论
ont color="red">rsyncont>ont color="red">实例ont>用法- -
http://batc.bao.ac.cn/cgi-bin/leobbs/cgi-bin/topic.cgi?forum=2&topic=7&show=0
vi /etc/xinetd.d/ont color="red">rsyncont>
disable = yes
改成
disable = no
ont color="red">rsyncont>d.conf 是ont color="red">rsyncont>d的config文件
vi /etc/ont color="red">rsyncont>d.conf
#uid = nobody
#gid = nobody
use chroot = yes
max connections = 4
pid file = /var/run/ont color="red">rsyncont>d.pid
lock file = /var/run/ont color="red">rsyncont>.lock
log file = /var/log/ont color="red">rsyncont>d.lo...
大家可以复制,但请大家保留本文的完整,谢谢!![本人保留著作权}
作者:rhinux
备份的重要性不言而喻,现在向大家介绍一种本人在实际工作中用到的几乎是完全免费,但又非常实用的备份方法.
一,简述:
备份主要采用ont color="red">rsyncont>利用sshd服务进行备份,而无需建立任何其他服务.
二, 服务器配置:
1,RedHat AS3
2,ont color="red">rsyncont> 2.4.6 [RedHat AS3 自带]
3,ssh-keygen [RedHat AS3 自带]
4,sshd[RedHat AS3 自带]
三, 环...
备份
by
rhinux
-
存储备份
-
2006-03-03 18:47:11 阅读(8992) 回复(19)
今天买了本o'reillyApache经典ont color="red">实例ont>
感觉很不错,吼吼。
求:异步复用I/o的ont color="red">实例ont>,谢谢!
:em08: 晕了,用ont color="red">rsyncont>同步图片,结果好多出现显示出来不完整。不知道是啥原因。
是我用了压缩吗?我用的参数是: apzr
现在我用scp重新拷贝
[ 本帖最后由 angeljyt 于 2008-6-2 20:21 编辑 ]
ont color="red">rsyncont>是类unix系统下的数据镜像备份工具,从软件的命名上就可以看出来了——remote sync。它的特性如下:
可以镜像保存整个目录树和文件系统。
可以很容易做到保持原来文件的权限、时间、软硬链接等等。
无须特殊权限即可安装。
优化的流程,文件传输效率高。
可以使用rcp、ssh等方式来传输文件,当然也可以通过直接的socket连接。
支持匿名传输,以方便进行网站镜象。
软件下载
rysnc的主页地址为:
http://ont color="red">rsyncont>.samba.org/
目前...
一,安装ont color="red">rsyncont>
二,配置
1,服务端
(1)
供ont color="red">rsyncont>客户端访问的用户
adduser
ont color="red">rsyncont>user
(2)
配置ont color="red">rsyncont>d.conf
=========ont color="red">rsyncont>d.conf START =======
uid=nobody
gid=nobody
max connections=10
use chroot=no
log file=/var/log/ont color="red">rsyncont>d.log
pid file=/var/run/ont color="red">rsyncont>d.pid
lock file=/var/run/ont color="red">rsyncont>d.lock
secrets file=/etc/ont color="red">rsyncont>d.pwd
[admin_web]
path=/servic...
因ont color="red">rsyncont>是一款Unix或类Unix系统平台的软件,所以在Windows平台上运行,需要用到Cygwin这款软件;cygwin是一个在windows平台上运行的unix模拟环境,是cygnus solutions公司开发的自由软件(该公司开发了很多好东西,著名的还有eCos,不过现已被Redhat收购)。它对于学习unix/linux操作环境,或者从Unix到windows的应用程序移植,或者进行某些特殊的开发工作都非常方便。下面我们开始安装:
1.1.1 从Cygwin的网站
http://www.cy...
add-host-bak sshkey
ssh -rsa认证部分
[root@254 root]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase ag...
如果我把数据都打包后,再用ont color="red">rsyncont>做备份,作还是增量备份吗?