Hello, all.
I'm a begineer for rsync and please help me.
I would like to sync data between two ftp sevrer.
If one change/add/delete data usingf ftp, other ftp server should sync from
the main ftp servert.
In my thought, full data directory syncing is too slow, so if the client
uses " --files-from" option, sync speed more fast than full data directory
syncing.
file list is like below.
# tail -f /var/log/xferlog | awk '{print $9}'
/home/abc/images/card_pay_contents.gif
So I executed like below at client.
/tmp/test contains the file list like above.
# rsync -avr --delete --recursive --files-from=/tmp/test
remote_server::root /
works well...
But if the files are deleted at the remote_server, client doesn't delete
the file like below and print error.
I would like to like this.
If the file is creates or modified at the main server, client must creates
or modify.
If the file is deleted at the main server, client must delete.
receiving file list ... rsync: link_stat
"/home/abc/images/card_pay_contents.gif" failed: No such file or directory
(2)
done
client: nothing to do: perhaps you need to specify some filenames or the
--recursive option?
rsync error: some files could not be transferred (code 23) at main.c(723)
How to do solve this problem?
Thanks in advance for your help.
_________________________________________________________________
보다 빠르고 보기 편한 뉴스. 오늘의 화제는 MSN 뉴스에서 확인하세요.
http://www.msn.co.kr/news/
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html