Export (0) Print
Expand All

How to: Archive a Database

Visual Studio 2005

Periodically, you will want to back up, or archive, a Visual SourceSafe database or parts of it. Visual SourceSafe also supports restoration of a database from an archive. For more about restoring a database or selected projects, see How to: Restore a Database from an Archive.

Archival of a database allows you to:

  • Save disk space on the Visual SourceSafe server or other machine hosting the database.

  • Make the Show History command work more quickly.

  • Transport files and projects between Visual SourceSafe databases, keeping history information intact.

  • Provide a compressed file backing up all or part of a database.

The Visual SourceSafe Administrator program allows you to archive your databases using the Archive Projects command, and to restore them from backup using the Restore Projects command. Another way of making an archive is to use the Visual SourceSafe SSARC utility from the command line. Details of the utility are given in the topic SSARC Utility.

To archive a database using Visual SourceSafe Administrator:

  1. Ensure that no one is using the database and that the ANALYZE utility will not run during the archive operation.

  2. Open the database for which you want to archive information.

  3. On the Archive menu of Visual SourceSafe Administrator, click Archive Projects.

  4. In the Archive wizard, select the project(s) to archive, and click OK.

  5. If there are additional projects to be archived, indicate this in step 1 of the wizard, and click Next when finished.

  6. In step 2 of the wizard, specify how you want the project(s) to be archived, and click Next when finished. For each choice, you can use Browse to search for and select an archived file to overwrite the existing file.

  7. In step 3 of the wizard, specify the versions for the data to archive, using the Version box.

  8. Add a comment to the Comment box to document the archive operation.

  9. Click Finish to complete the wizard. The archive is written to a *.ssa file in the directory that you have specified.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft