Book Image

Visual SourceSafe 2005 Software Configuration Management in Practice

Book Image

Visual SourceSafe 2005 Software Configuration Management in Practice

Overview of this book

Why is Software Configuration Management important?Software Configuration Management (SCM) is the discipline of managing the building and modification of software through techniques including source-code control, revision control, object-build tracking, and release construction. SCM involves identifying the configuration of the software at given points in time, systematically controlling changes to the configuration, and maintaining the integrity and traceability of the configuration throughout the software development lifecycle.Software Configuration Management is one of the first skills a serious developer should master, after becoming proficient with his or her development tools of choice. Unfortunately, this does not always happen because the subject of SCM is not commonly taught in either academic or company training.When developing software, you need to have a manageable team development effort, track and maintain the history of your projects, sustain parallel development on multiple product versions, fix bugs, and release service packs while further developing the application. This is where the concepts of Software Configuration Management come into play; SCM is about getting the job done safer, faster, and better.Visual SourceSafe has a long history behind it. The previous versions were either loved for their ease of use and integration with other Microsoft products, or hated because the headaches caused by using them improperly. This book will help you to avoid such problems.
Table of Contents (15 chapters)
Visual SourceSafe 2005 Software Configuration Management in Practice
Credits
About the Author
About the Reviewers
Preface

Archiving the Database


You will want to archive a Visual SourceSafe database or individual projects periodically for backup purposes.

Note

Before you start the archiving operation, make sure no users are logged in and lock the database to prevent users from logging in and making changes during archiving.

If you use Visual SourceSafe Administrator from a client computer or from the server using the network path, you will see the following message:

For maximum performance, you should use it directly on the SourceSafe server and log in to the database using a local path rather than a network path. For this purpose you can add the same database to the database list but by using the local path.

To start the archive wizard, use the Archive Projects command in the Archive menu.

In the first step of the Archive Wizard you must specify the database projects to archive using the Add button.

Note

If you select the root folder $ for archival you will only be able to restore it later as a sub-folder with the name of the archive, like $/OrbitalHotel.ssa. This may not be what you want, in which case you may choose to select individual projects for archival.

Click Next to advance to the second step.

In the second step you have to choose between three archiving options.

The first option archives the database to a file.

The second option archives the data and then deletes it from the database. This option is useful when the database becomes large and allows you to save space.

The third option deletes the data permanently and you can use it to delete a project that you don't use anymore.

In this case I will choose to save the data to a file for backup.

Click Next to advance to the third and final step.

At this point you can specify the file versions you want to archive. You can choose to archive all the data in the database, or archive the contents from a particular version and older. Combined with the second option in the previous step, you can archive old file versions and then delete them from the database to free space and speed operations. Later you can restore them using the restore function.

In the Version text box you can specify:

  • Project versions using the version number format N (for example 5)

  • Project dates using the date format MM/DD/YY (for example 1/25/07)

  • Project labels using the string format (for example Beta1)

All the versions including the specified version and below will be archived.

You can also specify a comment for the archive in the Comment text box.

To start archiving the selected projects click Finish.