The CA Harvest SCM restore utility (hrt) lets administrators move archived data back to its original database.
Note: Administrators can use the archive (har) utility to move data from the CA Harvest SCM database tables to another location.
The following rules apply to the restore function:
Important! Projects archived prior to Version 12.0 need to be restored to the prior release before you upgrade to Version 12.0. However, this limitation will be removed after Version 12.0. Projects archived from Version 12.0 do not have to be restored prior to future upgrades/releases.
After a successful restoration, the project status is automatically set to Inactive.
This command has the following format:
hrt {-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) Specifies the archive file.
(Optional) Specifies the name of the destination computer for the archive, if you are archiving to or restoring from a remote computer.
(Optional) Specifies the port number of the destination computer for the archive, if you are archiving to or restoring from a remote computer.
(Optional) Specifies the username of the destination computer for the archive, if you are archiving to or restoring from a remote computer.
(Optional) Specifies the password of the destination computer for the archive, if you are archiving to or restoring from 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.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|