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

Re: Restore lost repository from last-checked-out working copy

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-01-11 18:46:34 CET

Kevin Jackson wrote:
> A disk array on our Subversion server went bad, and the sysadmin, in
> fixing the disk array, wiped out both the Subversion repository AND
> the backup. C'est la vie...

You _seriously_ need to review your backup policy :-(

> Luckily, the night before, after rebuilding my laptop, I checked out
> everything from the repository.
>
> Is there anyway I can use this checked-out working copy to restore the
> repository on a new server? Please...? <whimper>

Do you have any sort of backup of the repository on tape/CD? If you have
something not too old you could restore that, checkout a fresh working
copy, then svn export last night's WC to overwrite the content of this
fresh WC. Then commit. You will get the old history followed by one
amalgamated commit of all the changes between the backup and last night.
You will have to check carefully for file renames, added files, deleted
files, etc.

Then get everyone to do a fresh checkout of the 'new' repository.

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 11 18:47:25 2005

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