[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Backup repository corrupted

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Fri, 22 Feb 2008 12:40:30 -0500

>>>>> "Murli" == Murli Varadachari <mvaradachari_at_facebook.com> writes:

 Murli> I am doing a backup of my production svn repository using
 Murli> svnsync ‹ somehow last night a new version got committed to
 Murli> the backup repository directly. AT this point all synsync
 Murli> operations fail.

 Murli> Here is the error message

 Murli> [root_at_svn001.sf2p ~]# svnsync synchronize --username root
 Murli> --password root svn://xxxx.foo.com/svnroot svnsync:
 Murli> Destination HEAD (84333) is not the last merged revision
 Murli> (84332); have you committed to the destination without using
 Murli> svnsync?

 Murli> Is there a quick way to fix this.

I'm not sure about "quick"...

Some possible approaches:

1. Rename the destination repository, create a new one, re-sync from
   scratch.

2. Restore from a backup of the destination directory, one that
   doesn't include the bad rev, and re-sync to that.

3. Use svndump to dump up to but not including the bad rev, svnload
   that into a new repository, that's your "repaired" repository.

        paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-22 18:54:49 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.