[Linux] cwRsync [rsync for windows] SSH 加密異地備份

這個我找了好久~因為館內用的系統2003server跟前端系統linux,2個是不同的作業系統 但是我每天都有備份linux資料,我想同步到win的server上面,但是這樣就要在win的機器上面架設rsync伺服器跟rsync client套件 所以我找了很久 終於找到了 cwRsync 有client端 跟server端 跟ssh 加密 open ssh server cwRsync – Rsync for Windows 請點選中間的 Download cwRsync Server 1 下載之後解壓縮,裡面會有一個執行檔,在安裝即可 安裝好之後,去程式集打開 cwrsync server -> 05. Start a Unix BASH Shell 會出現底下畫面 2 執行之後,會出現一個 cmd 視窗但字元卻是 $ 的。

[Read More]

[CentOS 4.4] 架設 rsync 伺服器

安裝方式: 先檢查是否有安裝rsync yum list installed | grep rsync rsync.x86_64 2.6.3-1 installed vi /etc/xinetd.d/rsync service rsync { disable = yes socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = –daemon log_on_failure += USERID } disable = yes 改成 disable = no 然後重新啟動xinetd /etc/init.d/xinetd restart vi /etc/rsyncd.conf [backup] path = /backup02 auth users = admin uid = root gid = root secrets file = /etc/rsyncd.secrets read only = no [主機代號:自訂] path = 備份資料放置的路徑 auth users = 定義援權的帳號 uid = 應是執行時的uid gid = 應是執行時的gid secrets file = 認證密碼檔的位置 read only = 是否唯讀 [Read More]