Article ID: 173387 - Last Review: February 24, 2005 - Revision: 1.1 PRB: Restoring an Archive of an Entire DatabaseThis article was previously published under Q173387 SYMPTOMS
After you have archived an entire database with the SSARC utility and you
try to restore it with SSRESTOR, you receive the following error:
The path $/ is already in use. Cannot restore path from archive file.
CAUSE
The syntax you used was:
SSRESTOR [-s path to srcsafe.ini] <archive file> $/ RESOLUTION
To resolve this error, either:
STATUS
This behavior is by design. According to the User's Guide (Appendix B page
219 for Visual SourceSafe 5.0), "if restoring attempts to create a
duplicate file or project name, the restore fails."
MORE INFORMATION
If, for example you have three top-level projects:
$/first $/second $/third Resolution 1Run SSRESTOR three times, each time specifying the name of one of the projects as the last argument (for example, SSRESTOR archive.ssa $/first). There are two disadvantages to this method.If there is a large number of top-level projects, this process will be tedious, and there is no easy way to automate it. Any links (shared or branched files) between top-level projects and will be lost. For example, if: $/first/sub_one/myfile.txt $/third/sub_one/myfile.txt Links that are within the same project tree are maintained, such as: $/first/sub_one/myfile.txt $/first/sub_five/myfile.txt Resolution 2There are three steps in this resolution:
| Article Translations
|
Back to the top
