The CA Harvest SCM archive utility lets administrators move data from the CA Harvest SCM database tables to another location for archive purposes.
The following rules apply to the archive function:
After a successful archive execution, two files are created in the archive destination location:
Important! Do not delete or modify the .arv or .dat files if you plan to restore the project. Deletion or modification of these files will result in restoration failure.
After archiving a project, the project status is automatically set to Archive.
Note: Administrators can use the restore (hrt) utility to move data back to the original database.
This command has the following format:
har {-b name} {-f} [-m computername –rport portnumber] [-musr username -mpw password] {-usr username -pw password} [-prompt] [-i inputfile.txt | -di inputfile.txt] [-eh filename] [‑er filename] [-o filename | -oa filename] [-arg] [-v] [-wts] [-h] project_name
(Required) Specifies the CA Harvest SCM broker name.
(Required) Defines the archive file.
(Optional) Specifies the name of the destination computer for the archive, if you are archiving to a remote computer.
(Optional) Specifies the port number of the destination computer for the archive, if you are archiving to a remote computer.
(Optional) Specifies the user name of the destination computer for the archive, if you are archiving to a remote computer.
(Optional) Specifies the password of the destination computer for the archive, if you are archiving to a remote computer.
(Required, unless -prompt is specified) Specifies the user name for login to the broker. If -usr is defined without -pw, the user is prompted for the password at runtime.
(Required, unless -prompt is specified) Specifies the password for login to the broker. To hide the password from being exposed in plain text on the command line, use the ‑prompt option.
(Optional) Specifies the encrypted CA Harvest SCM username-password file name. The file name used with this option contains encrypted username-password credentials and must be generated with the svrenc utility.
Note: -eh overrides -usr and -pw options. -prompt overrides -eh, -usr and -pw options.
(Optional) Specifies the encrypted remote username-password file name. The file name used with this option contains encrypted username-password credentials and must be generated with the svrenc utility. -er overrides -musr and -mpw options.
Specifies the name of the project to archive.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|