[Ubuntu-zh] 如何实现双机互为镜像

Yufeng Lan nlany.web在gmail.com
星期一 十二月 24 03:37:17 GMT 2007


Èç¹ûÊÇbit¼¶±ðµÄͬ²½£¬Äã¿ÉÒÔ¿´ drbdÏîÄ¿£¨³ÉÊ켶±ð²»Çå³þ£¬ÔڹؼüÓ¦ÓÃÉÏÒª¶à×ö²âÊÔ£©¡£Èç¹ûÊÇÎļþ¼¶±ð£¬rsync¡£

On Dec 23, 2007 1:25 PM, Vern Sun <s5unty在gmail.com> wrote:

> on 2007-12-22 at 12:34 +0800, ÎâÏÈÉú wrote:
> > ±È½ÏÌØÊâµÄÊÇÎÒÏëͬ²½µÄÊÇÕų̂·þÎñÆ÷µÄÄÚÈÝ£¬¶ø²»Êǵ¥Ò»µÄÎļþ¼Ð¡£Ò²¾ÍÊÇÁ½Ì¨µçÄÔÒª
> > һģһÑùµÄÊý¾Ý£¡Äܲ»ÄÜ°ïæ°ÑÕû¸ö²½Öè˵Ã÷Çå³þ£¬²¢ÇÒÌṩ¸ö½Å±¾Ö®ÀàÈÃËûÿÌìÔÚ24£º
> > 00¶¼ÄÜͬ²½Ò»´ÎµÄ¡£Ð»Ð»£¡
> >
>
> ÎÒ»áÏÈÔÚÔ´·þÎñÆ÷ÉÏ¿ªÒ»¸ö ssh ·þÎñ£¬È»ºóÅäÖþµÏñ·þÎñÆ÷µÄ ssh Á¬½Ó£¬ÈÃËü¿ÉÒÔÃâ
> ¿ÚÁî×Ô¶¯µÇ¼Դ·þÎñÆ÷¡£È»ºóÈþµÏñ·þÎñÆ÷Óà cron ÔÚÿÌì 0 µãÖ´ÐÐÃüÁî:
> $ crontab -l
> # m h  dom mon dow   command
> * 0 * * * rsync -zau --delete user在source.net:/ /
>
> -z ѹËõ´«Êä
> -a ±¸·Ý/¾µÏñ
> -u Èç¹ûij¸öͬÃûÎļþ£¬¾µÏñ·þÎñÆ÷ÉϵıÈÔ´·þÎñÆ÷ÉϵÄУ¬ÔòÌø¹ý¸ÃÎļþ
> --delete ɾ³ýµô¾µÏñ·þÎñÆ÷É϶àÓàµÄÎļþ£¬±£³ÖºÍÔ´·þÎñÆ÷ͬ²½
>
> ÎÒÏëÕâÑùÓ¦¸Ã¿ÉÒÔ°É
>
> --
> Vern
> 2007-12-23
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD4DBQFHbfEzvybwk5cXSZERAgIbAJd1JShWnYKNBU5SX6BlK/UZ64k7AJ9wC/5h
> i2CB8Hu/3hipKw69jfUfsg==
> =v5lG
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20071224/1e3ce459/attachment.htm 


More information about the ubuntu-zh mailing list