トップ «前の日記(2008-02-02) 最新 次の日記(2008-02-09)» RDF

hogemoge diary ハナレテモトモダチダヨ


2008-02-08 [長年日記]

_ rsyncエラー対策

転送先がsambaでマウントされたディレクトリだと、実体はMS-Windowsなのでグループが変更できず、エラー (コピー自体はされる)

$ rsync -rlptogDuvb --backup-dir=~/rsync_test/old ~/rsync_test/from /mnt/hishidama/rsync_test/to
building file list ... done
chown from : Operation not permitted
chown from/test : Operation not permitted
chown from/test.txt : Operation not permitted
chown from/test/tt.txt : Operation not permitted
from/tt.txt
chown from/テスト.txt : Operation not permitted
backup_dir is ~/rsync_test/old
chown from/tt.txt : Operation not permitted
chown from : Operation not permitted
chown from/test : Operation not permitted
wrote 204 bytes  read 42 bytes  164.00 bytes/sec
total size is 32  speedup is 0.13

この場合、 「-g」オプションを除けばこのエラーは消える。

[UNIX「リモート同期」コマンド(Hishidama's UNIX-command "rsync" Memo)]

/usr/bin/rsync -avz --delete /mnt/share/ /var/autofs/misc/usbhdd/bak

つーことで↑のやつを↓してみた。

/usr/bin/rsync -rlptDvz --delete /mnt/share/ /var/autofs/misc/usbhdd/bak
[]

書いているひと: YOSHID@ TMy Gmail address

2001|06|07|08|09|10|11|12|
2002|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|
track feed Search Engine Optimization