小時候不學好,現在才在學 rsync 怎麼用。

  • Server 端與 Client 端安裝 rsync
  • Server: 修改 /usr/local/etc/rsyncd.conf 並建立相關所需的檔案和路徑。(rsyncd.conf.sample 有很貼心的範例)
  • Server: 如果使用 ipv4 要記得修改 /usr/local/etc/rc.d/rsyncd(deleted: 不太好的做法)
    (Update 0416: 經 lwhsu 提醒,修正為 /etc/rc.conf 將 rsyncd_enable 打開,使用 ipv4 則要設定 rsyncd_flags )
  • Client: 寫好 rsync script

 

Posted by 沒力小僧 at 痞客邦 PIXNET Comments(1) Trackback(0) Hits(271)

open trackbacks list Trackbacks (0)

Comments (1)

Post Comment
  • 改 commands_args 好像不太好
    在 /etc/rc.conf 裡面指定 rsyncd_flags 應該是比較推薦的方法
  • 的確是在 rc.conf 裡指定會來的比較好,要來改一下了XD

    Manicreplied on 2009/04/15 14:14

Comment Permissions: Allow commenting

Leave Comment

*帳號/暱稱
E-mail
Personal Website
迴響標題
*迴響內容
Verification Code
認證碼
* Private Comment