Re: rsync question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Aug 5, 2008 at 1:35 PM, Mag Gam <magawake@xxxxxxxxx> wrote:
> Hi All,
>
> I am trying to understand the purpose of rsyncd. Why does it exist?
> Why not just use rsync ad-hoc or via script?

The rsyncd is optional.  I did not use it by myself, so can't comment on that.

>
> Also, to a more serious note. I need to keep a filesystem on 1 server
> and another server synced by.
> What is the best way to do this? I want to have /source and /target to
> be exactly the same. I don't want any extra files in /target. I want
> the timestamps to be the exact same in /target. Does anyone have a
> good rsync arguments I can use? I have been using -avzl but I was
> wondering if there was anything better.

You can try

rsync -avz --delete /source/ /target/

KC

>
>
> TIA
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux