Instead of saving archives on your local computer, you can save them to the Rational® DOORS® database server, where they are stored in a folder inside the data folder. When archives
are saved on the database server, you can access them from any Rational DOORS client that is connected to the database.
Before you begin
Before you stop the database server, all users must log out.
About this task
When you archive data locally on your Rational DOORS client computer, when you need to restore the archive, you can browse to the
archive file location. However, you cannot browse to the data archives that are
stored on the database server. Note the exact name of the archive file. If you enter
the archive file name incorrectly when you try to restore it from the server, this
warning is displayed: CRCRD5338E the selected file is not a DOORS archive,
was created by an incompatible version of DOORS, or is corrupt.
When you reference the archive directory, do not
include the path. Use only the archive folder name.
Procedure
- If you use a Windows
server, follow these steps:
- Navigate to the data folder on the Rational DOORS database server.
- In the data folder, create a folder for the server
archives.
- Open the Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS_Server\9.version\Config.
- Create a string named
DOORS_Archive_Location.
- Right-click the string, select Modify,
and type the name of the folder that you created in the
Value data field. For example, type
archives.
- Stop and start the Rational DOORS database server.
- If you use a Linux server, follow these steps:
- Create a folder in the data directory on the database server.
- Set the server archive environment variable.
- Set the
DOORS_ARCHIVE_LOCATION=directoryname
environment variable as part of the profile or startup script
for the user who runs the Rational DOORS database server.
- Start the database server by entering the
-doors_archive_location
directoryname command-line switch
parameter. For
example:
./doorsd -doors_archive_location archives
You
can shorten that option to -A
directoryname.
What to do next
Check that server archives are enabled:
- Open Rational DOORS and log in as a user who has the power to archive and restore data.
- In the right pane of the database explorer, select a project and click . If server archives are enabled, the Archive
Project window includes the Archive on
server field. That field is also available in the
Archive Module window. The Restore
from server field is displayed in the
Restore Project and Restore
Module windows.