小時候不學好,現在才在學 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 留言(1) 引用(0) 人氣()


open trackbacks list Trackbacks (0)

留言列表 (1)

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

    沒力小僧 replied in 2009/04/15 14:14

You haven’t logged in yet, please use guest status to leave message. You can also log in with above service account and leave message

other options