5

...so I want to back up my Subversion repository and I know how to do that using svnadmin dump.

My question is, what is the best way to verify integrity of the dump files?

I figure I'll use them to restore to a mirror server... but then I'm not sure how to compare the original server with the mirror server.

Jason S
  • 626
  • 1
  • 16
  • 28

1 Answers1

2

I guess, the only more or less reliable way will be restoring it from a backup and running svnadmin verify on it. Additionally, you can embed latest revision number to the backup file name (kinda svn-2009-10-15-r6584.bak) and then check whether the latest revision in the backed up repo is indeed r6584.

Anton Gogolev
  • 1,582
  • 4
  • 16
  • 22
  • 2
    well, then I guess the question becomes what does svnadmin verify actually do? ("Yup, we verified it. Trust us.") – Jason S Oct 15 '09 at 17:08