Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > Good, then I will go ahead and erase the failed mirror repos and > re-create them and then load the dump files. But for the not yet used > repos I can just start loading the dumps. Saves some time. There are some things you can do to make load

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Bo Berglund
On Thu, 29 Mar 2018 13:20:04 +0100, Philip Martin wrote: >Bo Berglund writes: > >> 1) Do I have to disable the hooks I put in place for sync during the >> load? Or will they not be triggered during a load operation? > >No, by default load does

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > 1) Do I have to disable the hooks I put in place for sync during the > load? Or will they not be triggered during a load operation? No, by default load does not invoke hooks. You can choose to invoke them via a command line options. > 2) What do I

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Bo Berglund
On Thu, 29 Mar 2018 10:34:52 +0100, Philip Martin wrote: >Philip Martin writes: > >> Bo Berglund writes: >> >>> 2) Use hotcopy to make a backup copy of everything including hooks. >>> The caveat here is that the hotcopy

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Philip Martin writes: > Bo Berglund writes: > >> 2) Use hotcopy to make a backup copy of everything including hooks. >> The caveat here is that the hotcopy needs to be using the exact same >> version on both master and mirror. But I have 1.9.7

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > 2) Use hotcopy to make a backup copy of everything including hooks. > The caveat here is that the hotcopy needs to be using the exact same > version on both master and mirror. But I have 1.9.7 master on Windows > and 1.9.3 mirror on Ubuntu Linux No,

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-28 Thread Bo Berglund
On Wed, 28 Mar 2018 12:41:49 -0500, Bo Berglund wrote: >QUESTION: >- >Is there a possibility to dump the source repos, then use the >dumpfiles to set up the mirrors and finally tell svnsync to start >syncing from the revision that is now the last in the mirror? It

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-28 Thread Bo Berglund
On Wed, 28 Mar 2018 09:00:05 +0200, Johan Corveleyn wrote: >> Transmitting file data ... 8 long lines of dots >> ..svnsync: E120106: ra_serf: The server sent a >> truncated HTTP response body. > >I'd start with going through the apache logs on both

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-28 Thread Johan Corveleyn
On Wed, Mar 28, 2018 at 1:56 AM, Bo Berglund wrote: > I proceeded to sync our repositories. On the 3rd repo I get the > following error at revision 210 (it contains 1290 revisions): > > E:\>svnsync synchronize https://home.mirrordomain.com/svn/cmp >

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-27 Thread Bo Berglund
I proceeded to sync our repositories. On the 3rd repo I get the following error at revision 210 (it contains 1290 revisions): E:\>svnsync synchronize https://home.mirrordomain.com/svn/cmp https://masterserver/svn/cmp Transmitting file data ... 8 long lines of dots

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-27 Thread Branko Čibej
On 27.03.2018 22:52, Bo Berglund wrote: > When I move forward and prepare target repositories for syncing I need > to activate two hooks in each repo (pre-revprop-change and > start-commit). So there will be 18 scripts to create... > Can I symlink the existing hooks into the new repositories so I

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-27 Thread Bo Berglund
On Mon, 26 Mar 2018 08:22:16 -0500, Bo Berglund wrote: >svn: E195019: Redirect cycle detected for URL The error was caused by misconfiguration of the /etc/apache2/mods-enabled/dav_svn.conf file following the instructions in this webpage:

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-26 Thread Bo Berglund
On Mon, 26 Mar 2018 00:21:33 -0500, Bo Berglund wrote: >Not knowing what to do next I tried the synchronize command: > >E:\>svnsync synchronize https://xxx.yyy.com/svn/bosse >https://localserver/svn/bosse >svnsync: E170011: Repository moved permanently to

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-25 Thread Bo Berglund
On Sat, 24 Mar 2018 22:40:55 -0500, Bo Berglund wrote: Contrary to the previous message I found that the only way I could fix the connectivity was to publish my backup Ubuntu server on the Internet as a self-signed Apache service on port 443 on my Internet router. So the

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-24 Thread Bo Berglund
On Sat, 24 Mar 2018 20:17:27 +0100, Andreas Stieger wrote: >On 03/24/2018 02:15 PM, Bo Berglund wrote: >> Is there some current HOWTO I can use to set this up? > >http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-24 Thread Andreas Stieger
Hello, On 03/24/2018 02:15 PM, Bo Berglund wrote: > Is there some current HOWTO I can use to set this up? http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication

Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-24 Thread Bo Berglund
I have an svn server running on a Windows Server 2016 with about 10 main repositories each with a number of projects. I moved from CVS to svn 3 months ago. On CVS I had a simple backup scheme where I used robocopy to nightly copy out all changed files within the last 2 days and zip them up and