RE: Initialising a mirror

This is a discussion on RE: Initialising a mirror within the Rsync forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1432665341== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D6_01C5D46D.5C518FA0" This ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2005
 
Posts: n/a
Default RE: Initialising a mirror

This is a multi-part message in MIME format.

--===============1432665341==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_00D6_01C5D46D.5C518FA0"

This is a multi-part message in MIME format.

------=_NextPart_000_00D6_01C5D46D.5C518FA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

"slow rsync" limited by bandwidth (or whatever) compared to....
FAST (LAN), SLOW (Internet), FAST (LAN) from "pointA" to "pointB"

100Gb of data -- how much/many of what is changing?
How many files? How big? (ranges) where changed?
How many (major) directories?
What kind of window and how big?
What are the preferable failure modes?
You do NOT have a choice of whether it fails.
You DO have a choice of which way it fails.

Looks like -p of scp preserves times and modes. ?? owner and group ??

Probably worth doing a fast look to see just what it is that you actually
have on both ends.
Intentions and reality quite often manage to do a disconnect.
You tend to get better answers if you state what you did (cut&paste)
as opposed to what you thought you did.
Generally when you have troubles they are not the same.

-----Original Message-----
From: Cyrille Bollu [mailto:Cyrille.Bollu@fedasil.be]
Sent: Wednesday, October 19, 2005 4:35 AM
To: Tony@ServaCorp.com
Cc: rsync@lists.samba.org
Subject: RE: Initialising a mirror



Hi,

thank you for your answer.

But what do you mean by "slow rsync"? Do you mean limiting bandwith? I think
this will not be an option with 100Gb of data to synchronise...

However, I like your idea with the LAN: I think I will bring my mirror to
the remote site :-)

Just for the record, I didn't made the standard mistake, having things one
directory level off from where they should be.

I was hoping doing a "scp -rp" would preserve all the necessary information
needed by rsync but apparently not... Maybe I should use tar?

Regards,

Cyrille

<Tony@ServaCorp.com> a écrit sur 19/10/2005 11:00:07 :

> Standard mistake is to somehow get things one directory level off
> from where they should be.
>
> If you have the available disk space (both ends)
> Do a fast rsync from the primary to locally available fast disk
> space (same computer or LAN)
> Do a slow rsync from that disk space to another set of available
> disk space over slow/unreliable network.
> Assuming the slow rsync completed without problems,
> do a fast rsync from the second disk space to the legitimate target..
>
> Source makes a big distinction between foo/ and foo
> They both transfer the same files.
> They differ in where they transfer the file to (BY ONE LEVEL)
> Both make sense and are quite reasonable.
> If you do both, the effects are similar to untarring twice with one
> level difference between them.
>
> I know I've done it a number of times, and it is no fun over remote
> and often bad internet connections.
> With large volumes, it is not apparent when you've done it to yourself.
>
>
> WARNING -- these scripts work but are probably not the best nor the
> most aesthetic.
> ---just a wee bit too informative and I'm too lazy to sanitize so
> I'm not posting to the list.---
> ?? hosts allow/deny ignore with auth users present ??
> The major sucurity concerns are NOT permanently losing all my data
> rather than eavesdroppers.
> The internet connection(s) are ocassionally flaky to non-existent,
> and everything needs to assume
> that they will chose the most inopportune moment to do something I don't

like.
> Essentially the stunt is that /home/rsync-foo is rsync'd with other
> such over slow and bad connections.
> With bad internet I've got (not shown) multiple off-site backups AND
> the ability to bring them all upt-to-date
> if there is a connection (any, not necessarily the preferred -- some
> connect, some don't connect)
>
>
>
> ---Timing depends on what is different. Typically this one is about
> 10 to 15 minutes (about 10G) total.
> If large MySql tables are rearranged, tends to take rather longer.
> real 192m41.906s
>
>
> real 12m18.512s
> sent 13750 bytes received 7577551 bytes 10279.35 bytes/sec
> total size is 14013850399 speedup is 1846.04
> Tue Oct 18 07:28:00 CDT 2005
> rsync-sjs-dwg
> [root@wf1 /root]# cat rsync-sjs-dwg
> #!/bin/sh
>
> rsync client
> # staged backup
> time rsync -a /home/rsync-sjs-dwg/* /home/rsync-sjs-dwg-1bk/
>
> time rsync -avz --progress --partial --timeout=1750 --password-
> file=/etc/rsync.secrets/rsync-sjs-dwg \
> rsync-sjs-dwg@sjs::rsync-sjs-dwg/* /home/rsync-sjs-dwg/
> date; echo rsync-sjs-dwg
>
> ----rsync server (actually is an intermediate, not the primary)
> This is an extra "junk" computer with a decent hard drive.
> This serves to get a fast
> # etc/rsyncd.conf
> pid file = /etc/rsyncd.pid
> [rsync-sjs-dwg]
> comment = backup of sjs dwg
> path = /home/rsync-sjs-dwg
> use chroot = true
> read only = false
> list = false
> uid = root
> gid = root
> auth users = rsync-sjs-dwg
> secrets file = /etc/rsyncd.secrets
> strict modes = true
> hosts allow = 10.0.0.1 pete-162 wf
> hosts deny = *.*.*.*
> ---rsync "client" (This is a PRIMARY)
> [root@sys001 root]# cat rsync-sjs-dwg
> #!/bin/bash
> # rsync-sjs-dwg SJS_Drawings/ title/
> mkdir -p /tmp/rsync ; echo `hostname` > /tmp/rsync/OPENED
> rsync -a --password-file=/etc/rsync.secrets/sjs-dwg --timeout=750 \
> /tmp/rsync/OPENED rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/
> for name in title SJS_Drawings ; do
> rsync -a --password-file=/etc/rsync.secrets/sjs-dwg --timeout=750 \
> /home/dwg/$name rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/
> done
> mkdir -p /tmp/rsync ; echo `hostname` > /tmp/rsync/CLOSED
> rsync -a --password-file=/etc/rsync.secrets/sjs-dwg --timeout=750 \
> /tmp/rsync/CLOSED rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/
> echo 'rsync-sjs-dwg'
> date
> date -u
>
>
>
>
>
> -----Original Message-----
> From: rsync-bounces+tony=servacorp.com@lists.samba.org [mailto:
> rsync-bounces+tony=servacorp.com@lists.samba.org]On Behalf Of Cyrille

Bollu
> Sent: Wednesday, October 19, 2005 2:58 AM
> To: rsync@lists.samba.org
> Subject: Initialising a mirror


>
> Dears,
>
> I would like to mirror data from 2 servers connected together via
> VPN over ADSL lines (dwn 2Mbps/Upld 512Kbps).
>
> I'm sure rsync is one of the best tool to keep these data in sync
> but how should I use it to initialise the mirror?
>
> I'm currently testing the solution with 10Gb of data to keep in
> sync. But on my lines it would take more than 40 hours to initially
> create the mirror! And in production the data to keep in sync will
> reach 100Gb...


>
> So, I went with a laptop on the remote site and "scp -rp" the data
> on it. I then got back to my site and "scp -rp" it on the mirror to
> initialise it.
>
> But apparently I forgot something because when rsync still sends all
> the files from the remote site to my mirror when I first run it.
>
> Does anybody has an idea about what I'm doing wrong?
>
> Does anybody has a solution to this problem?
>
> Regards,
>
> Cyrille


------=_NextPart_000_00D6_01C5D46D.5C518FA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>"slow=20
rsync"&nbsp;&nbsp;&nbsp; limited by bandwidth (or whatever) compared=20
to....</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>FAST=20
(LAN), SLOW (Internet), FAST (LAN)&nbsp; from "pointA" to=20
"pointB"</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>100Gb=20
of data&nbsp;&nbsp;&nbsp; -- how much/many of what is=20
changing?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>How=20
many files?&nbsp; How big? (ranges)&nbsp; where =
changed?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>How=20
many (major) directories?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>What=20
kind of window and how big?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>What=20
are the preferable failure modes?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005>&nbsp;&nbsp;&nbsp; You do NOT have a choice =
of whether=20
it fails.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005>&nbsp;&nbsp;&nbsp; You DO have a choice of =
which way it=20
fails.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>Looks=20
like -p of scp preserves times and modes.&nbsp; ?? owner and group=20
??</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005>Probably worth doing a fast look to see just =
what it is=20
that you actually have on both ends.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005>Intentions and reality quite often manage to =
do a=20
disconnect.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>You=20
tend to get better answers if you state what you did (cut&amp;paste)=20
</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D300230810-19102005>as=20
opposed to what you thought you did.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005>Generally when you have troubles they are not =
the=20
same.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D300230810-19102005></SPAN></FONT>&nbsp;</DIV>
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Cyrille Bollu=20
[mailto:Cyrille.Bollu@fedasil.be]<BR><B>Sent:</B> Wednesday, October 19, =
2005=20
4:35 AM<BR><B>To:</B> Tony@ServaCorp.com<BR><B>Cc:</B>=20
rsync@lists.samba.org<BR><B>Subject:</B> RE: Initialising a=20
mirror<BR><BR></FONT></DIV><BR><FONT face=3DArial size=3D2>Hi, =
</FONT><BR><BR><FONT=20
face=3DArial size=3D2>thank you for your answer.</FONT> <BR><BR><FONT =
face=3DArial=20
size=3D2>But what do you mean by "slow rsync"? Do you mean limiting =
bandwith? I=20
think this will not be an option with 100Gb of data to =
synchronise...</FONT>=20
<BR><BR><FONT face=3DArial size=3D2>However, I like your idea with the =
LAN: I think=20
I will bring my mirror to the remote site :-)</FONT> <BR><BR><FONT =
face=3DArial=20
size=3D2>Just for the record, I didn't made the standard mistake, having =
things=20
one directory level off from where they should be.</FONT> <BR><BR><FONT=20
face=3DArial size=3D2>I was hoping doing a "scp -rp" would preserve all =
the=20
necessary information needed by rsync but apparently not... Maybe I =
should use=20
tar?</FONT> <BR><BR><FONT face=3DArial size=3D2>Regards,</FONT> =
<BR><BR><FONT=20
face=3DArial size=3D2>Cyrille</FONT> <BR><BR><FONT=20
size=3D2><TT>&lt;Tony@ServaCorp.com&gt; a =E9crit sur 19/10/2005 =
11:00:07=20
:<BR><BR>&gt; Standard mistake is to somehow get things one directory =
level off=20
<BR>&gt; from where they should be.</TT></FONT> <BR><FONT =
size=3D2><TT>&gt;=20
&nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; If you have the available =
disk=20
space (both ends)</TT></FONT> <BR><FONT size=3D2><TT>&gt; Do a fast =
rsync from the=20
primary to locally available fast disk <BR>&gt; space (same computer or=20
LAN)</TT></FONT> <BR><FONT size=3D2><TT>&gt; Do a slow rsync from that =
disk space=20
to another set of available <BR>&gt; disk space over slow/unreliable=20
network.</TT></FONT> <BR><FONT size=3D2><TT>&gt; Assuming the slow rsync =
completed=20
without problems, </TT></FONT><BR><FONT size=3D2><TT>&gt; &nbsp; &nbsp; =
do a fast=20
rsync from the second disk space to the legitimate target..</TT></FONT>=20
<BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT =
size=3D2><TT>&gt; Source=20
makes a big distinction between foo/ and foo</TT></FONT> <BR><FONT=20
size=3D2><TT>&gt; They both transfer the same files.</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; They differ in where they transfer the file to =
&nbsp;(BY ONE=20
LEVEL)</TT></FONT> <BR><FONT size=3D2><TT>&gt; Both make sense and are =
quite=20
reasonable.</TT></FONT> <BR><FONT size=3D2><TT>&gt; If you do both, the =
effects=20
are similar to untarring twice with one <BR>&gt; level difference =
between=20
them.</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; I know I've done it a number of times, and it is no =
fun over=20
remote <BR>&gt; and often bad internet connections.</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; With large volumes, it is not apparent when you've =
done it to=20
yourself.</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; WARNING =
&nbsp;--=20
these scripts work but are probably not the best nor the<BR>&gt; most=20
aesthetic.</TT></FONT> <BR><FONT size=3D2><TT>&gt; ---just a wee bit too =

informative and I'm too lazy to sanitize so <BR>&gt; I'm not posting to =
the=20
list.---</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp; &nbsp; ?? hosts =
allow/deny=20
ignore with auth users present ?? </TT></FONT><BR><FONT =
size=3D2><TT>&gt; The=20
major sucurity concerns are NOT permanently losing all my data <BR>&gt; =
rather=20
than eavesdroppers.</TT></FONT> <BR><FONT size=3D2><TT>&gt; The internet =

connection(s) are ocassionally flaky to non-existent, <BR>&gt; and =
everything=20
needs to assume</TT></FONT> <BR><FONT size=3D2><TT>&gt; that they will =
chose the=20
most inopportune moment to do something I don't like.</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; Essentially the stunt is that /home/rsync-foo is =
rsync'd with=20
other <BR>&gt; such over slow and bad connections.</TT></FONT> <BR><FONT =

size=3D2><TT>&gt; With bad internet I've got (not shown) multiple =
off-site backups=20
AND<BR>&gt; the ability to bring them all upt-to-date</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; if there is a connection (any, not necessarily the =
preferred --=20
some<BR>&gt; connect, some don't connect)</TT></FONT> <BR><FONT =
size=3D2><TT>&gt;=20
&nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; =
---Timing depends=20
on what is different. &nbsp;Typically this one is about<BR>&gt; 10 to 15 =
minutes=20
&nbsp;(about 10G) total.</TT></FONT> <BR><FONT size=3D2><TT>&gt; If =
large MySql=20
tables are rearranged, tends to take rather longer.</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; real &nbsp; &nbsp;192m41.906s</TT></FONT> <BR><FONT=20
size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; =
&nbsp;</TT></FONT>=20
<BR><FONT size=3D2><TT>&gt; real &nbsp; &nbsp;12m18.512s<BR>&gt; sent =
13750 bytes=20
&nbsp;received 7577551 bytes &nbsp;10279.35 bytes/sec<BR>&gt; total size =
is=20
14013850399 &nbsp;speedup is 1846.04<BR>&gt; Tue Oct 18 07:28:00 CDT=20
2005<BR>&gt; rsync-sjs-dwg</TT></FONT> <BR><FONT size=3D2><TT>&gt; =
[root@wf1=20
/root]# cat rsync-sjs-dwg<BR>&gt; #!/bin/sh</TT></FONT> <BR><FONT=20
size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; rsync=20
client</TT></FONT> <BR><FONT size=3D2><TT>&gt; # staged backup<BR>&gt; =
time rsync=20
-a /home/rsync-sjs-dwg/* /home/rsync-sjs-dwg-1bk/</TT></FONT> <BR><FONT=20
size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; time =
rsync -avz=20
--progress --partial --timeout=3D1750 --password-<BR>&gt;=20
file=3D/etc/rsync.secrets/rsync-sjs-dwg \<BR>&gt; &nbsp; &nbsp; &nbsp; =
&nbsp;=20
rsync-sjs-dwg@sjs::rsync-sjs-dwg/* /home/rsync-sjs-dwg/</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; date; echo rsync-sjs-dwg</TT></FONT> <BR><FONT =
size=3D2><TT>&gt;=20
&nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; ----rsync server &nbsp; =
(actually=20
is an intermediate, not the primary)</TT></FONT> <BR><FONT =
size=3D2><TT>&gt; This=20
is an extra "junk" computer with a decent hard drive.</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; This serves to get a fast </TT></FONT><BR><FONT =
size=3D2><TT>&gt;=20
# etc/rsyncd.conf</TT></FONT> <BR><FONT size=3D2><TT>&gt; pid file =3D=20
/etc/rsyncd.pid</TT></FONT> <BR><FONT size=3D2><TT>&gt; =
[rsync-sjs-dwg]<BR>&gt;=20
&nbsp; &nbsp; &nbsp; &nbsp; comment =3D backup of sjs dwg<BR>&gt; &nbsp; =
&nbsp;=20
&nbsp; &nbsp; path =3D /home/rsync-sjs-dwg<BR>&gt; &nbsp; &nbsp; &nbsp; =
&nbsp; use=20
chroot =3D true<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; read only =3D =
false<BR>&gt;=20
&nbsp; &nbsp; &nbsp; &nbsp; list =3D false<BR>&gt; &nbsp; &nbsp; &nbsp; =
&nbsp; uid=20
=3D root<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; gid =3D root<BR>&gt; &nbsp; =
&nbsp;=20
&nbsp; &nbsp; auth users =3D rsync-sjs-dwg<BR>&gt; &nbsp; &nbsp; &nbsp; =
&nbsp;=20
secrets file =3D /etc/rsyncd.secrets<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; =
strict=20
modes =3D true<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; hosts allow =3D =
10.0.0.1 pete-162=20
wf<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; hosts deny =3D =
*.*.*.*</TT></FONT>=20
<BR><FONT size=3D2><TT>&gt; ---rsync "client" &nbsp;(This is a=20
PRIMARY)</TT></FONT> <BR><FONT size=3D2><TT>&gt; [root@sys001 root]# cat =

rsync-sjs-dwg<BR>&gt; #!/bin/bash<BR>&gt; # rsync-sjs-dwg =
&nbsp;SJS_Drawings/=20
title/<BR>&gt; mkdir -p /tmp/rsync ; echo `hostname` &gt;=20
/tmp/rsync/OPENED<BR>&gt; rsync -a =
--password-file=3D/etc/rsync.secrets/sjs-dwg=20
&nbsp;--timeout=3D750 \<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; =
/tmp/rsync/OPENED=20
&nbsp; &nbsp; &nbsp; =
rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/</TT></FONT>=20
<BR><FONT size=3D2><TT>&gt; for name in title SJS_Drawings ; do<BR>&gt; =
rsync -a=20
--password-file=3D/etc/rsync.secrets/sjs-dwg --timeout=3D750 \<BR>&gt; =
&nbsp; &nbsp;=20
&nbsp; &nbsp; /home/dwg/$name &nbsp; &nbsp; &nbsp; &nbsp;=20
rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/<BR>&gt; done</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; mkdir -p /tmp/rsync ; echo `hostname` &gt;=20
/tmp/rsync/CLOSED<BR>&gt; rsync -a =
--password-file=3D/etc/rsync.secrets/sjs-dwg=20
&nbsp;--timeout=3D750 \<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; =
/tmp/rsync/CLOSED=20
&nbsp; &nbsp; &nbsp; =
rsync-sjs-dwg@10.0.0.170::rsync-sjs-dwg/</TT></FONT>=20
<BR><FONT size=3D2><TT>&gt; echo 'rsync-sjs-dwg'<BR>&gt; date<BR>&gt; =
date=20
-u</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT=20
size=3D2><TT>&gt; <BR>&gt; &nbsp;</TT></FONT> <BR><FONT =
size=3D2><TT>&gt;=20
&nbsp;</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> =
<BR><FONT=20
size=3D2><TT>&gt; -----Original Message-----<BR>&gt; From:=20
rsync-bounces+tony=3Dservacorp.com@lists.samba.org [mailto:<BR>&gt;=20
rsync-bounces+tony=3Dservacorp.com@lists.samba.org]On Behalf Of Cyrille=20
Bollu<BR>&gt; Sent: Wednesday, October 19, 2005 2:58 AM<BR>&gt; To:=20
rsync@lists.samba.org<BR>&gt; Subject: Initialising a=20
mirror<BR></TT></FONT><BR><FONT size=3D2><TT>&gt; <BR>&gt; Dears, =
<BR>&gt;=20
<BR>&gt; I would like to mirror data from 2 servers connected together =
via=20
<BR>&gt; VPN over ADSL lines (dwn 2Mbps/Upld 512Kbps). <BR>&gt; <BR>&gt; =
I'm=20
sure rsync is one of the best tool to keep these data in sync <BR>&gt; =
but how=20
should I use it to initialise the mirror? <BR>&gt; <BR>&gt; I'm =
currently=20
testing the solution with 10Gb of data to keep in <BR>&gt; sync. But on =
my lines=20
it would take more than 40 hours to initially <BR>&gt; create the =
mirror! And in=20
production the data to keep in sync will <BR>&gt; reach 100Gb... :-( =
<BR>&gt;=20
<BR>&gt; So, I went with a laptop on the remote site and "scp -rp" the =
data=20
<BR>&gt; on it. I then got back to my site and "scp -rp" it on the =
mirror to=20
<BR>&gt; initialise it. <BR>&gt; <BR>&gt; But apparently I forgot =
something=20
because when rsync still sends all<BR>&gt; the files from the remote =
site to my=20
mirror when I first run it. <BR>&gt; <BR>&gt; Does anybody has an idea =
about=20
what I'm doing wrong? <BR>&gt; <BR>&gt; Does anybody has a solution to =
this=20
problem? <BR>&gt; <BR>&gt; Regards, <BR>&gt; <BR>&gt;=20
Cyrille</TT></FONT></BODY></HTML>

------=_NextPart_000_00D6_01C5D46D.5C518FA0--


--===============1432665341==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--===============1432665341==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0