Restore from Archive

Triggers restoration of multiple items from the Archive. An admin can choose one of the following options - Restore items to the original location and provide fallback repository in case the original location was deprecated. Restore to a dedicated central repository. Important Restore operation only moves the items back to the Warm instance location and does not delete them from the Cold instance. This Cold Storage feature is available only for Artifactory Enterprise and Enterprise+ users.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

Determines whether to restore a package (PACKAGE_RESTORE) or artifacts (ARTIFACT_RESTORE). The default value is ARTIFACT_RESTORE.

Allowed:
boolean

Set whether or not to restore to the original artifact location (saved on the Cold instance). Required if centralDestinationPath is not set.

string

If restoreToOriginal is set as true and the original location does not exist anymore, restore to this fallback location. fallbackDestinationPath must contain at least the repository key. Required if restoreToOriginal is set.

string

The repository key where the files need to be restored. The files will be restored to this repository according to its original path hierarchy. Required if restoreToOriginal is not set.

boolean

This is set as true by default and you do not have to include the namespace when adding items for itemsToRestore. When set as false, you must include the namespace when adding items for itemsToRestore.

itemsToRestore
array of strings
required

Comma-separated list of the items or paths to be restored. Format - ["<repository_name>/path/to/file", "<repository_name>/path/to/folder/", ...]. Note, Folder paths must end with a / while file paths must not.

itemsToRestore*
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json