We need to copy the exported Zip file “jfxr@0123abc_xray_exported_config_XXXX.zip” with Xray configurations of On-prem to the same path of the cloud instance under
Now we will provide the complete path of the exported zip file on the cloud Artifactory server and ask the customer to run the Xray Import REST API on their cloud Artifactory by providing the src_path of the exported file as below.
This will successfully transfer the Xray configuration settings from On-prem Artifactory to a cloud Artifactory instance.
“/opt/jfrog/xray/var/work/server/backup/config/xray_exported_config_XXXX.zip”As it was a cloud instance, customers won't be having access to the cloud servers to copy the exported Xray configurations file. So they will provide the generated xray exported configuration file for the On-prem Artifactory to us. Support will work with Production Engineering to place the exported file under the required xray path on the corresponding cloud Artifactory server.
Now we will provide the complete path of the exported zip file on the cloud Artifactory server and ask the customer to run the Xray Import REST API on their cloud Artifactory by providing the src_path of the exported file as below.
$ curl -uadmin:${PASSWORD} -X POST https://saas-server/xray/api/v1/configuration/import -H 'Content-Type: application/json' -d '{"src_path" : "xray_exported_config_XXXX.zip"}'
This will successfully transfer the Xray configuration settings from On-prem Artifactory to a cloud Artifactory instance.