RE: Disaster Recovery - Restoring a repository with lost revisions...
From: Karan, Cem \(Civ, ARL/CISD\) <CKaran_at_arl.army.mil>
Date: 2005-06-14 14:39:32 CEST
Try this as an experiment (NOTE! I don't know if this will work, I'm just suggesting it as an experiment!)
1) Create a repository with all the files you need
IIRC you won't be allowed to make an update. I _think_ you need to do the following:
1) Use 'svn export' to export the head of the working copy.
If I understand everything in the book correctly, export should export everything including local changes, unless you tell it not to by giving it a revision number. By merging this with the head of the repository, you get a solid copy of what you want. You also implicitly get rid of all the '.svn' directories in the exported directory. The import will create a new revision.
At this point, you'll need to check out a new working copy. If your export from the WC didn't include your local changes, you'll need to figure out how to merge them into your new working copy.
Try all this and tell us what happens. It will be interesting to know and useful to have in the archives.
Thanks, and good luck,
-----Original Message-----
We’re currently running through some disaster recovery scenarios and I can’t find any reference to this in the SVN book, perhaps someone can tell me what I’ll need to do…..
---------------------------------------------------------------------
|
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.