r5 - 2017-08-10 - 14:55:49 - Main.aalairdYou are here: TWiki >  Deployment Web > DeploymentInstallingUpgradingAndMigrating > BackupCLM > DngJfsIndexBackup

Backup and restoration of Jazz Foundation Service index files for Rational DOORS Next Generation

Authors: PaulBoney
Build basis: Rational DOORS Next Generation 4.0+

This document outlines the preferred steps for creating and restoring backup files of the Jazz Foundation Service (JFS) that are used by Rational DOORS Next Generation. These steps must be performed by the server administrator.

Using a Rational DOORS Next Generation repository tools (repotools) command, you can create an archive of the indexes and save it to a location of your choice. This backup process is performed online while the server is running. If the JFS indexes ever get corrupted, you can use offline repotools commands to restore and synchronize the indexes from the backup file.

Note that this process is for creating and restoring backups of the JFS indexes only; it will not create a backup of the Rational DOORS Next Generation database. For detailed information on performing a full backup, see BackupCLM


Quick reference

The following steps provide an overview of the repository tools commands that are required to back up and restore the Rational DOORS Next Generation JFS indexes for version 4.0 and later. For detailed information about these commands, refer to the relevant sections of this document.

Online backup

repotools-rm -backupJFSIndexes adminUserID=<your JTS admin ID> adminPassword=<your JTS admin password> toFile=<fully-qualified output filename>

Offline restore

repotools-rm -restoreJFSIndexes fromFile=<fully-qualified filename of backup file>

Synchronization

repotools-rm -synchronizeJFSIndexes teamserver.properties=<fully-qualified path to teamserver.properties file>


Creating a backup of JFS indexes in Rational DOORS Next Generation 4.0+

As of version 4.0, server administrators can use a repotools command to create a backup of the JFS index files while the server is online.

The repotools location

Repository tools command-line reference (repotools) is included with Rational DOORS Next Generation and is available at the installed server location. In a typical installation, the repotools scripts are found at <server install directory>/server/repotools-rm.

For more information on how to run repotools commands, and to view a list of available commands, see the Repository tools command-line reference topic in the online help.

Backup command

To start the online backup of the JFS indexes, run the following repotools command:
repotools-rm -backupJFSIndexes adminUserID=<your JTS admin ID> adminPassword=<your JTS admin password> toFile=<fully-qualified output filename>

Example:
repotools-rm -backupJFSIndexes adminUserID=admin adminPassword=adminPass toFile=C:\backup\myBackup.zip

Note that while the backup is in progress, the server might appear sluggish or unresponsive to users. Also note that write processes to the indexes are queued and are run when the backup is complete. After the process is finished, the generated backup file is available in the location that you specified in the toFile command parameter.

For more information, see the Repository tools command to back up Jazz Foundation Service indexes topic in the online help.


Restoring JFS indexes from a backup file in Rational DOORS Next Generation 4.0+

There are two steps to restoring the JFS indexes from a backup file by using the repository tools commands:

  1. Restore the indexes by running the restoreJFSIndexes command.
  2. Synchronize the indexes by running the synchronizeJFSIndexes command.

Note that backup files that are more than 90 days old cannot usually be restored.

Restore command

The restoreJFSIndexes command is used to restore the JFS indexes from a backup file that was created by using the backupJFSIndexes command. The restore command must be run within 90 days from when the backup file was captured. In the event a database restore is also being performed, the index backup being restored must not be ahead of the database.

To restore the index, stop the server and run the following repotools command:
repotools-rm -restoreJFSIndexes fromFile=<fully-qualified filename of backup file>

Example:
repotools-rm -restoreJFSIndexes fromFile=C:\backup\myBackup.zip

For more information, see the Repository tools command to restore Jazz Foundation Service indexes from a backup file topic in the online help.

Synchronize command

The synchronizeJFSIndexes command is used to synchronize the JFS indexes and the full text indexes with the resources in the database. It updates older indexes to the same level as the current one.

To synchronize the indexes, run the following repotools command:
repotools-rm -synchronizeJFSIndexes teamserver.properties=<fully-qualified path to teamserver.properties file>

Example:
repotools-rm -synchronizeJFSIndexes teamserver.properties=C:\myJTSInstall\server\conf\rm\teamserver.properties

For more information, see the Repository tools command to synchronize JFS indexes with database topic in the online help.

Related topics: BackupCLM

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
This site is powered by the TWiki collaboration platformCopyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.