Spectra Logic
1-800-833-1132 : 1-303-449-6400


Hardware Operations : Tape Library and Component Operations : Import Foreign Tapes

Import Foreign Tapes
Description
Imports all tapes in the library associated with a different BlackPearl gateway. If one or more buckets being imported does not already exist, the user ID and data policy to use for any new buckets must be specified. The storage domain to use may optionally be specified. If not specified, the gateway will attempt to automatically determine the most logical storage domain in which to add the tape.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape/?operation=IMPORT[&conflict_resolution_mode=ACCEPT_EXISTING| ACCEPT_IMPORT|ACCEPT_HIGHEST_VERSION|ACCEPT_MOST_RECENT|CANCEL] [&data_policy_id={string}][&storage_domain_id={string}] [&user_id={string}]
Request Parameters
§
ACCEPT_EXISTING — Keep the file currently in the BlackPearl database.
§
ACCEPT_IMPORT — Keep the file currently being imported.
§
ACCEPT_HIGHEST_VERSION — Keep the file with the highest version number.
§
ACCEPT_MOST_RECENT — Keep the file with the most recent creation date.
§
CANCEL (default) — Cancel the import process.
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This request queues all unformatted tapes to be formatted.
PUT http://blackpearl-hostname/_rest_/tape/?operation=IMPORT
HTTP/1.1
Sample Response
HTTP/1.1 204 No Content