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h!D!#(B _ $B:bI[$r3+$1$F!"Cf$K(B 500 $B1_6L$H(B
1 $BK|1_;%$N4V$N2_J>$,;D$C$F$$$J$/$FEE _ $B:#F|Gc$C$?$b$N(B _ $BL50UL#$K%O%^$j$^$/$j$D$D(B
(mozilla $B$G%@%&%s%m!<%I$7$h$&$H$9$k$H@h$:(B /tmp $B$KCV$-$d$,$C$F(B
mfs $B$N(B /tmp $B$,0n$l$F;`$s$G$?$H$+!"(B
$B2?8N$+(B linux binary $B$r _
lfs $B$K=q$-9~$s$G$bMn$A$J$/$J$C$?$h$R$c$C$[!
(diagnostic $B$G$b(B)$B!#(B _ rsyncd.conf $B:F(B$B@_Dj!#(B
$B$J$s$@$+$h$/H=$i$s$,!"$"$C$5$j$&$^$/$$$C$?!#(B $B%[%9%H(B ouroboros $B$N(B /etc, /root, /var, /home, /usr/local,
/usr/X11R6 $B$r!"%[%9%H(B gaftnochec $B$N(B /backup/ouroboros $B0J2<$K(B
$B%_%i!<$9$kJ}K!!#(B
gaftnochec $B$N(B inetd $B$G(B rsync $B$rBT$A
$BF0$$$F$$$k$h$&$@$+$i!"$3$l$G$$$$$i$7$$(B($BEj$2$d$j(B $B%U%i%C%H$KJB$P$J$-$c$$$1$J$$$+$i!"(B backup $BBP>]$,?<$$$H$3$m$K$$$k$H(B
$B%b%8%e!<%k$,A}$($k$N$,Fq$@$,!"$^$!$h$+$m!#(B
_ SGML $B$N(B DocBook $B$NF|K\8l$N%j%U%!%l%s%9$J$$$+$J$!!D!#(B
O'Reilly
$B$NE[$NF|K\8lHG$G$J$$$+$J!D!#(B
_ 30$B:P$K$7$F=i$a$FL\6L>F$r>F$/!#(B
$BFi$,A4It$U$5$,$C$F$Fh'$GMq$K$G$-$J$+$C$?$H$$$&$@$1!#(B _ $BHS$N$*$+$:$K!"(B
$BL#$NAG$GBg:,$rh'$G$F _ $B$a$:$i$7$/%"%Q!<%H$GHS$r?)$C$F!"(B
$B$*Cc$r0{$b$&$HCcE{$r0z$CD%$j$@$7$F$_$k$H!"(B
$B$3$l$,8+3P$($N$J$$2+?'$N1UBN$,Cj=P$5$l$k!D!D!#(B
$BHVCc$8$c$J$+$C$?$h$J!D$3$NCf?H!D(B(--;;;;;;$B!#(B _ $BB>$K7PG/Nt2=$7$F$=$&$J$N$C$F$J$K$+$"$k$+$J!)(B
$B<+?f;O$a$?:"$+$i$"$k$b$N$@$H!D(B5$BG/$b$N$N%^!<%,%j%s$H$+!)(B _ OpenBSD $B$,(B 3.0-beta $B$K$J$C$F0J9_!"(B
NFS $B$,;I$5$j$d$9$/$J$C$?5$$,$9$k!#(B
$B$H$$$&$+(B debugger $B$K$^$GMn$i$l$k$H$+$J$jITJX!#(B
weekly backup $B$K(B rsync $B$r;H$C$F$$$?$N$@$,!"(B
OpenBSD $B$N(B NFS $B$r(B amd $B$G(B mount $B$7$F$*$$$F(B rsync
$B$G0l5$$K=q$-9~$`$H$+$J$j$N3NN($G(B ddb> $B$KMn$A$F$$$k!D!#(B $B2<$N$,$h$/;29M$K$J$j$^$7$?(B _ $B$D!<$+!"L50UL#$K(B ddb> $B$N(B
hangman $B$GM7$s$G$7$^$C$?(B(^^;;;;;$B!#(B
$B$o$1H=$s$M!<$b$NF~$C$F$k$J!
_
Message-ID: <[email protected]>
_ rsync $B$@$H(B --delete $B$NB>$K$b!"(B backup $B@h$K(B backup
$BBP>]$N%G%#%l%/%H%j$,%U%i%C%H$KJB$s$G$$$J$$$HITET9g$,$"$C$?$j$7$F%$%d%s!#(B
backup $B$K$O8~$$$F$J$$$+$J$!!)(B
2001 $BG/(B 10 $B7n(B 26 $BF|(B ($B6b(B)
2001 $BG/(B 10 $B7n(B 25 $BF|(B ($BLZ(B)
$B4XO"$G(B
$BO"Mm$H$j$"$($k$h$&$K$7$F$*$3$&$HEEOCHV9f$r8x3+$9$k$H(B
($B$9$k$J$h$HB(:B$K;XE&$,F~$C$?(B)$B!"(B
$B2??M$+$+$iEEOC$,!#?tG/$V$j$KJ9$/Fy@<(B($B$=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B 4 $B?M;D$C$F$$$k$N$r8+$F!VGd$l;D$j!)!W$H$+(B
$B;W$C$F$7$^$C$?$H$$$&$N$OHkL)$@(B(^^;;;;;;$B!#(B
2001 $BG/(B 10 $B7n(B 15 $BF|(B ($B7n(B)
$B$J$s$G!"%j%]%8%H%j$r(B lfs $B>e$KCV$$$F$_$?!#(B
$B
$B=$@5$,F~$C$?(B6$B;~4V8e$K$OJs9p$7$F$/$l$?(B$B$f$T;U>"(B$B!"(B
$B$"$j$,$H$&(B(*^^*;;;
2001 $BG/(B 10 $B7n(B 11 $BF|(B ($BLZ(B)
pid file = /var/run/rsyncd.pid
uid = root
gid = wheel
read only = no
secrets file = /etc/rsyncd.secrets
[backup-o]
comment = backup directories for ouroboros /{etc,root,var,home1}
path = /backup/ouroboros
auth users = backup-o
hosts allow = 172.30.1.1, 127.0.0.1
[ouroboros-usr]
comment = backup directories for ouroboros /usr/{local,X11R6}
path = /backup/ouroboros/usr
auth users = backup-o
hosts allow = 172.30.1.1, 127.0.0.1
#!/bin/sh
RSYNC="/usr/local/bin/rsync -auv --delete --password-file=/root/kanri/rsync.passwd"
BACKUP="backup-o@gaftnochec::"
if [ $1 = root ] ;
then
ROOT=/
DEST=backup-o
TARGETS="etc root var home1"
elif [ $1 = local ] ;
then
ROOT=/home21
DEST=ouroboros-usr
TARGETS="local X11R6"
else
exit 1;
fi
cd ${ROOT}
${RSYNC} ${TARGETS} ${BACKUP}${DEST}
exit 0
2001 $BG/(B 10 $B7n(B 10 $BF|(B ($B?e(B)
2001 $BG/(B 10 $B7n(B 3 $BF|(B ($B?e(B)
$B:rF|$N%^!<%,%j%s(B$B$O$[$H$s$I$J$/$J$C$F$?!#(B
$B>xH/$G$b$7$?$+$J!)(B
$B:#D+%H!<%9%H$KEI$C$?$V$s$G;H$$$-$j!#(B
$B$+$o$j$K!"(B1$B2s$/$i$$$7$+;H$C$F$J$5$=$&$J?]$d$i%1%A%c%C%W$d$i%=!<%9$d$i$r(B
$BH/7!$7$F$7$^$C$?(B(_ _;;$B!#(B
.J<1R$+F#;^G_0B$_$?$$$@(B(^^;;;$B!#(B
$B$G$bF]$s$G$k$N$,F|K\
2001 $BG/(B 10 $B7n(B 2 $BF|(B ($B2P(B)
$BI,;`$G5-21$r
2001 $BG/(B 10 $B7n(B 1 $BF|(B ($B7n(B)
$B$7$+$?$,$J$$$N$G(B rsyncd.conf $B=q$$$F(B inetd $B$GBT$A
http://oregano.okra.timis.ac.jp/~prisoner/aka/rsync.html
Copyright (c) 2001 $B9u;3MST%1&1RLg(B
All rights reserved.