accurev backup <backup-file-spec>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:
• a full path and file name when invoking the backup command, or
• 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 the files from the backup medium to their proper locations in the site_slice and <depot> directories.
• Using the administrative utility maintain to synchronize all the files.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.Backing Up the Repository of the AccuRev Administrator’s Guide.Restoring the Repository of the AccuRev Administrator’s Guide.
Micro Focus |