« *.ipchina.org ÓòÃû½âÎöÔÝʱ³öÏÖÎÊÌâ | Main | [¹«¸æ] *.ipchina.org ÓòÃûϵͳµ÷Õû Çì×£¿ª·ÅÁ½ÖÜÄê ÐÂÂòÁË windtear.net »
December 13, 2004
rsync ͬ²½Ê¹ÓÃÏê½â
|
°æÈ¨ÉùÃ÷£º¿ÉÒÔÈÎÒâ×ªÔØ£¬×ªÔØÊ±ÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂÔʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷¡£ http://windtear.net/archives/2004/12/13/000498.html http://windtear.net/archives/2004/12/13/000498.html rsync ͬ²½Ê¹ÓÃÏê½â (±¾ÎÄ×î½üÓÚ2006-01-14 23:28¸üÐÂ) rsync ÊǺÜÇ¿´óµÄͬ²½¹¤¾ß ±¾µØÔ¶³Ì½ÔÒË ²»ÉÙproject¶¼Ìṩ http ftp rsync µÈmirror·½Ê½ rsync¹Ù·½Ö÷Ò³ÊÇ http://samba.anu.edu.au/rsync/ rsync(d)·þÎñ¶ËÆô¶¯Á½ÖÖ·½Ê½ 1.daemon 2.xinetd inetd Æô¶¯ºó°óÔÚ TCP/873 ¶Ë¿Ú % cat /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, as it \ # allows crc checksumming etc. service rsync { disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID } ÅäÖà עÒâÉèÖöÁдȨÏÞÊôÖ÷ % cat /etc/rsyncd.conf motd file = /var/log/rsync/welcome.msg pid file = /var/log/rsync/rsyncd.pid lock file = /var/log/rsync/rsync.lock log file = /var/log/rsync/rsyncd.log [rsyncwww] comment = rsync www path = /var/www/ use chroot = no max connections = 4 read only = false list = true uid = nobody gid = nobody auth users = wwwuser secrets file = /etc/rsyncd.secrets hosts allow = 1.1.1.1,2.2.2.2 hosts deny = 0.0.0.0/0 ignore errors = yes transfer logging = yes log format = "%a %f %l" #log format = "%o %h [%a] %m (%u) %f %l" [rsyncroot] comment = rsync root path = / use chroot = no max connections = 4 read only = true #read only = false list = true uid = root gid = root auth users = rootuser secrets file = /etc/rsyncd.secrets hosts allow = 1.1.1.1,2.2.2.2 hosts deny = 0.0.0.0/0 ignore errors = yes transfer logging = yes log format = "%a %f %l" rsyncd.secrets Ò»ÐÐÒ»¸öÓû§ Óû§Ãû:ÃÜÂë ¸ñʽ ʹÓà rsync -auvPz --progress dir1 dir2 rsync -ztruvoglpD --progress dir1 dir2 rsync -ztruvoglpD --progress dir1/ dir2 rsync -ztruvoglpD --progress dir1/file1 dir2 Èç¹û²»Ïë°üº¬Ä³¸öĿ¼/Îļþ¿ÉÒÔÉèÖÃ--exclude Ô¶³ÌʹÓà rsync 1.1.1.1:: Ö»ÁÐlist rsync user@1.1.1.1:: rsync user@1.1.1.1::module rsync user@1.1.1.1::module/path Èç¹ûûÓÐÅäÖÃrsync server ¿ÉÒÔͨ¹ý ssh ·½Ê½Ê¹Óà rsync -e ssh -auvPz 1.1.1.1:/etc ./ ͬ²½Ê±×¢Òâ×¢Òâ / ×îºóµÄÎÊÌâ ²»·Å/ ÔòĿ¼ÃûÒ²°üº¬mirror ·Å / ÔòÖ»ÓÐĿ¼ÀïÃæµÄ¶«Î÷mirrorÁË rsync -ztruvoglp --progress user@1.1.1.1::module/path ./ ΪÁ˽ű¾µ÷Ó÷½±ã »¹¿ÉÒÔµ÷Óà --password-file ͬÑù×¢ÒâÊôÖ÷ȨÏÞ Ò²¿ÉÒÔÉèÖû·¾³±äÁ¿RSYNC_PASSWORD=·ÃÎʺ¬Óû§ÈÏÖ¤µÄrsync Ïà¹ØÎÄÕÂ: lftp - my fav & some mirror method - ncftp wget rsync £¨2004-04-27£© CFS (Cluster File System) £¨2004-07-02£© FAM and IMON - sync it by yourself £¨2004-10-25£© |
Posted by windtear at December 13, 2004 7:01 PM
Trackback Pings
TrackBack URL for this entry:
http://cgi.windtear.net/cgi-bin/wt-tb.cgi/498
Listed below are links to weblogs that reference rsync ͬ²½Ê¹ÓÃÏê½â:
» ÌáһϠrsync for windows (Ç¿´óµÄͬ²½±¸·Ý¹¤¾ß) from windtear ×·ÇóÍêÃÀ
http://windtear.net/archives/2006/04/11/000958.html ÌáһϠrsync for windows (Ç¿´óµÄͬ²½±¸·Ý¹¤¾ß) rsync ÊÇÇ¿´óµÄͬ²½±¸·ÝµÄºÃ¹¤¾ß linux windows ¾ù¿ÉʹÓà ±¾ÆªblogÌáÒ»ÏÂwindows°æ±¾ Ç°ÃæÔøÐ´¹ýrsyncµÄblog: rsync µ¥Ä£¿éÈÏÖ¤ÅäÖà /etc/rsyncd.conf rsync ͬ²½Ê¹Ó... [Read More]
Tracked on April 12, 2006 12:12 AM
Comments
Post a comment
¡¾ÎÒ°®ÍøÂç¡¿
2007-12-31 23:51 2007Äê¶È ipcn.org/ipchina.org ×ܽᱨ¸æ
2007-12-31 00:31 vmware gsx server service
2007-12-31 00:15 squid ¶Ô 404 302 »º´æµÄÏà¹ØÎÊÌâ
2007-12-30 14:24 Éý¼¶µ½ MovableType 3.3x ²¢ÐÞ¸Ä entry_basename ¼æÈÝÐÔ
2007-12-30 13:52 [php] realip judge Ç°Ãæ²¹0µÄip¸ñʽÌÞ³ý
2007-12-14 16:34 rm -rf * ϵͳ¹ÜÀíÔ±ÒªÅŲéµÄ¶¨Ê±Õ¨µ¯
2007-12-13 19:03 ɽÎ÷µÄ¿í´øÔËÓªÉÌÌ«¹ý·ÖÁË Ë½×ԴܸÄdns½âÎö
2007-12-13 16:35 F5 MIB ÔÙѧϰ ΨһÐÔ±ê¼ÇÓõØÖ·µÄСbug
2007-12-11 22:15 perl ÓÃSpreadsheet::WriteExcelдÁ˸ö´¦Àí/¶ÁдexcelµÄС³ÌÐò
2007-12-11 13:39 perl ±äÁ¿×ªÒåµÄÎÊÌâ