サーバ資料

rsync の普通の使い方

rsync サーバの設定方法

  1. # chkconfig rsync on
  2. # vi /etc/rsyncd.conf
    uid = root
    gid = root
    read only = no
    hosts allow = 192.168.10.0/24
    hosts deny = *
    #exclude = .svn
    
    [sample]
    path = /home/backupDir
  3. # /etc/init.d/xinetd restart
  1. # rsync -avo --delete /home サーバ名::sample

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS