Den ons 8 jan. 2025 kl 10:59 skrev Bo Berglund <bo.bergl...@gmail.com>:

> If I create a new empty target repository on the mirror server and
> configure it
> to be used for syncing, then how long will it take to do the initial sync?
>

> The problem is that it is VERY big (14 GB) and the server and mirror are
> separated by the Atlantic so all comm need to be going through the internet
> etc...
>

That's not "very big" with today's measures (at least unless you are paying
per GB transfered). I have successfully synced TortoiseSVN's repo - it is
"only" 1.4 GB but on the other hand has almost 30'000 (small) revisions. It
took the better part of a day, but that is because the sync does one
revision at a time. Since you have fewer but bigger revisions, I would
suspect it to take a lot less time.

It sounds like a good plan to make a new repository and re-initialize the
sync. You probably put yourself in this situation by trying to load a dump
on the backup server. Maybe if you look at the properties on -r0 (as
described in the SVN book), you can make Subversion "think" that both
repositories are equal (which they SHOULD be if you made everything
correct).


>
> Is it not possible to load a synced repo using an initial dump file from
> the
> source and so load the mirror locally without having to worry about
> connectivity
> issues during the massive start operation?
>

I'm guessing here but I think that it would work. But I'd probably save
myself some trouble and let svnsync do the work. It is "only" a matter of
bandwidth and waiting for the sync to complete, whereas fiddling with a
dump file means man-hours for you.

Even if you loose connectivity again (and end up with a stale lock), you
should be able to steal the lock and re-start from where it stopped - you
don't need to do this in one big operation.

Cheers,
Daniel

Reply via email to