Changes between Version 16 and Version 17 of TipAndDoc/backup


Ignore:
Timestamp:
Apr 6, 2013 12:37:13 AM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/backup

    v16 v17  
    107107 * http://rsync.samba.org/ftp/rsync/rsync.html 
    108108 * http://rsync.samba.org/ftp/rsync/rsyncd.conf.html 
     109  * 注意すべきオプション 
     110  * {{{use chroot}}} 
     111   * root権限が必要 
     112   * {{{--numeric-ids}}}が暗黙的に指定される 
     113  * {{{log file}}} 
     114   * 指定しない場合はsyslog行き。chrootの外が指定できる 
     115  * {{{read only}}} 
     116   * デフォルトではyes 
     117  * {{{uid}}}, {{{gid}}} 
     118   * daemonをrootユーザで起動した際に、転送で実際に用いられるuid/gidを指定する 
     119   > The default is uid -2, which is normally the user "nobody". 
     120   * rootに変更しないと、以下の様にエラーとなる 
     121{{{ 
     122rsync: recv_generator: mkdir "/hoge" (in module) failed: Permission denied (13) 
     123}}} 
     124  * {{{hosts allow}}} 
     125   * --rsh (-e)によりvia sshで起動させると、以下の様になるため使用できない 
     126{{{ 
     127connect from UNKNOWN (0.0.0.0) 
     128}}} 
     129  * {{{hosts deny}}} 
     130   * マッチしない場合は許可されるため、{{{hosts allow}}},{{{hosts deny}}}両方にマッチしないホストは許可される 
     131 
    109132 * [http://d.hatena.ne.jp/dayflower/20090513/1242194477 rsync で pdumpfs みたいなことをする - daily dayflower] 
    110133 * [http://blog.livedoor.jp/kurt0027/archives/51808421.html hollyなblog:rsyncで特定のファイルだけ転送する] 
     
    121144  * rsync -vvとすると以下の様になっている 
    122145  * opening connection using: ssh -l username -i /path/to/rsync/ssh.key -p 22 backup.hostname rsync --server --daemon . 
    123   * この手法では、hosts allowは使えない 
    124 {{{ 
    125 connect from UNKNOWN (0.0.0.0) 
    126 }}} 
    127146 
    128147 * rsync sample