PRB: Restoring an Archive of an Entire DatabaseLast reviewed: September 25, 1997Article ID: Q173387 |
The information in this article applies to:
SYMPTOMSAfter 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. CAUSEThe syntax you used was:
SSRESTOR [-s path to srcsafe.ini] <archive file> $/SSRESTOR attempts to create a new project in the target database, with the name of the project given in the SSRESTOR command. Because the root project ($/) will always exist in the target database, the restored root project cannot be created.
RESOLUTION
STATUSThis 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 INFORMATIONIf, 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.txtis shared to:
$/third/sub_one/myfile.txtthe files will not be shared in the restored projects. 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:
Keywords : sscl ssother Version : WINDOWS:5.0 Platform : NT Win95 WINDOWS Hardware : x86 Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |