0

We have recently migrated SVN Repository from Server A to Server B using the below steps.

  • Using svnrdump we have taken the backup.
svnrdump dump http://example.com/svn/repo1 > repo1.dump
  • And restored it using svnadmin load command like the following,
   svnadmin load /var/svn/repos/repo1 < repo1.dump

Problem:

  1. The backup was successful showing around 42000 revisions.
  2. When restored the dump, the restoration was successful showing only 38299 revisions. There is a difference of 3701 revisions.

How do we troubleshoot this issue further?

5
  • Did you check the command output whenever there were warnings or errors? That would be the first step.
    – Seth
    Commented Jun 18, 2019 at 9:45
  • Did you refer to the output of the backup? or the restoration?
    – Vivek
    Commented Jun 18, 2019 at 9:52
  • Both would be important, the restoration probably more so.
    – Seth
    Commented Jun 18, 2019 at 10:24
  • The output of was quite large and I missed the initial part. Is there a way to redirect all the logs to a file? I tried something like the following but the file doesn't contain any details svnadmin load /var/svn/repos/repo1 < repo1.dump 2>&1 | tee /tmp/back_logs.txt
    – Vivek
    Commented Jun 18, 2019 at 11:28
  • That should actually work, if it doesn't increase the console buffer size to fit (more) of the output.
    – Seth
    Commented Jun 18, 2019 at 12:44

0

You must log in to answer this question.

Browse other questions tagged .