Hello guys.
I'm trying to find an API to create a secondary copy of an existing Storage Policy.
I need to create this copy as a Global Secondary Copy Policy to use a Storage Poll that already exists.
When I call the '/V2/StoragePolicy/35/Copy' API with the parameters
$data = '{
"copyName": "2-CP-TAPE",
"useGlobalPolicy": {
"storagePolicyName":"SPOOL-TAPE-1WEEK"
},
"storagePolicyCopyInfo": {
"active": 1,
"isDefault": 0,
"extendedFlags": {
"useGlobalAuxCopyPolicy":1,
"chunkLevelAuxCopy":1
},
"library": {
"libraryName":"TAPE-VIRTUAL1",
"libraryId":3
},
"mediaAgent": {
"mediaAgentId":2,
"mediaAgentName":"wzsp2-csnfr"
},
"storagePool": {
"storagePoolName":"SPOOL-TAPE-1WEEK",
"storagePoolId":18
}
}
}';
I get the following message
{ "processinginstructioninfo":{ "attributes":d { "name":"WebServer","value":"WZSP2-CSNFR" } ] },"error":{ "errorMessage":"'Pick data from running jobs' feature is not supported for selective copy or Inline copy.","errorCode":1 } }
Could you help me?