Import

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Import Mission Control data from a JSON file encrypted with the master key.

Note

This API is available only in Self-hosted instances.

Since: 4.0

Usage: PUT /mc/api/v1/system/backup/import

Produces: text/plain

Return codes:

204 - Successfully imported JSON file at $JFROG_HOME /var/backup/mc/import.json into the database. Note that, before importing you must rename the export.json file to import.json. For more information, see Migrating the Mission Control Database to Artifactory.

400 - JSON file is not in the correct format

500 - Error during import

Sample Output :

PUT /mc/api/v1/backup/import
OK