Trying to copy one project from one database to another.
Followed the doc:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/harvest-scm/13-0/command-reference/get-started-with-ca-harvest-scm-commands/hmvproj-command-move-or-copy-projects.html
Tried to run hmvproj with option "-verifyonly" which failed with following error:
Connecting to target project database with user : harvest .... connected.
Connecting to source project database with user : harvest .... connected.
Verify Only
Begin Verification
12:24:25 === Verifying projects (HARENVIRONMENT) === Step 1 of 54
Results:
Success: 0
Failed : 1
+++ Verification failed for table HARENVIRONMENT. +++
=== Elapsed: 00:00:00
Verification Failed
Release : 13.0.3
Tried the option -verifyrollback instead of -verifyonly and saw the exact two problems:
1. Source project has ACTIVE state
2. Target project exists in DB
After fixing above problems, command was successfuly finished.