2. AccuRev® Command-Line Reference : backup

backup
back up the AccuRev metadata
Usage
accurev backup <backup-file-spec>
Description
The backup command performs a backup of the AccuRev metadata stored in the database as of the time the command is issued. The resulting file is saved under the specified name in the site_slice\backup directory. You can override the default file location by specifying either of:
an alternate value for BACKUP_LOC in acserver.cnf.
After the metadata backup has finished, you can proceed to make backup copies of all the storage files in the repository. You need not make these copies at the same time, or even on the same day. But you eventually must make copies of all the files in the repository. Users can continue to perform regular AccuRev operations while you’re making the backup copies of the repository files.
CAUTION: Do not issue the backup command while you are running a program that makes a backup copy of repository files. This can place incorrect data into the backup copy.
Restoring a Backup
At any subsequent time, you can restore a backup copy of the repository. This involves:
Using the administrative utility maintain to synchronize all the files.
This procedure returns the repository to its state at the time you ran the backup command.
Backup Prior to Version 5.0
In versions prior to 5.0, the backup command was called backup mark, and it declared a “checkpoint” of the AccuRev repository, which involved making copies of certain repository files in preparation for backing up AccuRev data. This command produces an error message in AccuRev 5.0.
Important! Scripts that make use of the backup mark command will fail when run against AccuRev 5.0 data; you will need to change them.
See Also
Backing Up the Repository of the AccuRev Administrator’s Guide.
Restoring the Repository of the AccuRev Administrator’s Guide.

Micro Focus