subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Subversion Wiki] Update of "CopySvnsyncMirrorToMaster" by JulianFoad
Date Wed, 02 Nov 2011 16:49:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.

The "CopySvnsyncMirrorToMaster" page has been changed by JulianFoad:
http://wiki.apache.org/subversion/CopySvnsyncMirrorToMaster?action=diff&rev1=2&rev2=3

  How to recreate or repair a damaged master repository by copying data back from an svnsync
mirror repository that is complete and in good working order.
  
  == The Scenario ==
+ FSFS repository, svnsync mirror, used in a write-through proxy configuration.
+ 
+ Both the master and the mirror repository are the same repository format.
+ 
+ The master repository has some corruption in its revision files, but the mirror repository
does not.
+ 
  == The Repair ==
+ Ensure the master repository is off line and the other preconditions are met.  Keep a backup
of the master repository before starting to fix it.
  
+ Copy, by any convenient method (such as rsync or by physically shipping a disk), the following
parts of the mirror repository into the master repository:
+ 
+  * the 'db' subdirectory
+  * optionally omit 'db/locks', 'db/transactions', 'db/txn-protorevs' as they're not needed
+  * optionally omit 'db/revprops' if you want to keep the master's revprops
+ 
+ Then delete 'db/locks/*', 'db/transactions/*' and 'db/txn-protorevs/*'.
+ 
+ Check whether the settings in 'db/fsfs.conf' need to be adjusted or merged with the previous
(backed up) version of this file.
+ 

Mime
View raw message