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


Spectra BlackPearl Converged Storage System : Advanced Bucket Management Operations : Replication Target Operations : Amazon S3 Replication Target Commands : Import Amazon S3 Target

Import Amazon S3 Target
Description
Imports a copy of the objects in the specified bucket on the specified Amazon S3 target to the local BlackPearl system.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/s3_target/
{unique identifier or attribute}?operation=import
&cloud_bucket_name={string}]
[&data_policy_id={unique identifier or attribute}][&priority={CRITICAL|​​URGENT|​​HIGH|​​NORMAL|​​LOW|​​BACKGROUND}][&user_id={unique identifier or attribute}]
Request Parameters
Note: If a bucket with the name cloud_bucket_name, does not already exist on the BlackPearl system, then data_policy_id and user_id are required.
The priority for processing the import. The priority determines the resources assigned and the processing order. Imports can be interrupted every 30 minutes if a job with a higher priority is received.
Values: URGENT, HIGH, NORMAL, LOW
Note: If a bucket with the name cloud_bucket_name, does not already exist on the BlackPearl system, then data_policy_id and user_id are required.
Responses
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This command imports the objects in the bucket named “Accounting” from the specified Amazon S3 target.
PUT http://blackpearl-hostname/_rest_/azure_target/
dd9505ed-ca71-43c0-8715-e3a4699244d6
?operation=IMPORT
&cloudBucketName=Accounting HTTP/1.1
 
Sample Response
HTTP/1.1 204 No Content