You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,8 @@ Restore assessment data to a VECTR instance from an encrypted, compressed file:
77
77
-`--client-cert-file`: Path to the client certificate file for mTLS.
78
78
-`--client-key-file`: Path to the client key file for mTLS.
79
79
-`--ca-cert`: Path to a CA certificate file (can be used multiple times to add multiple CAs).
80
-
-`--target-assessment-name`: Overrides the name of the assessment being restored in the target instance.
80
+
-`--target-assessment-name`: Overrides the name of the assessment being restored in the target instance. Required when using `--source-campaign-name`.
81
+
-`--source-campaign-name`: Name of a specific campaign to restore from the input file. If set, `--target-assessment-name` must be an existing assessment.
81
82
-`--override-template-assessment`: Overrides any set template name in the serialized data and loads template test cases anyway.
-`--client-cert-file`: Path to the client certificate file for mTLS.
@@ -146,6 +147,23 @@ Transfer an assessment from one VECTR instance directly to another:
146
147
-`--client-cert-file`: Path to the client certificate file for mTLS. (will be applied for both source and dest)
147
148
-`--client-key-file`: Path to the client key file for mTLS. (will be applied for both source and dest)
148
149
-`--ca-cert`: Path to a CA certificate file (can be used multiple times to add multiple CAs). (will be applied for both source and dest)
150
+
-`--target-assessment-name`: Overrides the name of the assessment in the target instance. Required when using `--source-campaign-name`.
151
+
-`--source-campaign-name`: Name of a specific campaign to transfer. If set, `--target-assessment-name` must be an existing assessment.
152
+
153
+
### Restoring or Transferring a Single Campaign
154
+
155
+
The `restore` and `transfer` commands support moving a single campaign from a source assessment into an existing target assessment. This is useful for merging campaigns or moving specific parts of an assessment without transferring the entire thing.
156
+
157
+
To do this, use the `--source-campaign-name` flag to specify which campaign to move. When using this flag, you must also provide `--target-assessment-name` with the name of an *existing* assessment on the target VECTR instance. The campaign will then be restored or transferred into that assessment.
158
+
159
+
#### Example using `restore`
160
+
161
+
First, save a full assessment that contains the campaign you want to move. Then, restore a single campaign from that file into an existing assessment:
0 commit comments