Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
MoveBlobs SOAP Command

Moves blobs between volumes. Unlike HsmRequest, this request is synchronous, and reads parameters from the request attributes instead of zimbraHsmPolicy.

Network edition only API TRUE
Authorization token required true
Admin Authorization token required true

MoveBlobsRequest

    <MoveBlobsRequest types="{types}" sourceVolumeIds="{volume-ids}" destVolumeId="{dest-volume-id} (Short)"
                         [maxBytes="(Long)"]> ## MoveBlobsRequest
        <query>{query} (String)</query>
    </MoveBlobsRequest>

The following table describes elements and attributes you can define within a <MoveBlobsRequest> element:

XPath Required / Optional Description
@types Required (only 1) Type:String
A comma-separated list of item types, or "all" for all types. See the spec for <SearchRequest> for details.
@sourceVolumeIds Required (only 1) Type:String
A comma separated list of source volume IDs
@destVolumeId Required (only 1) Type:Short
Destination volume ID
@maxBytes Optional (0 or 1) Type:Long
Limit for the total number of bytes of data to move. Blob move will abort if this threshold is exceeded.
/query Optional (0 or 1) Type:{query} (String)
Query - if specified, only items that match this query will be moved

MoveBlobsResponse

    <MoveBlobsResponse [numBlobsMoved="{num-blobs-moved} (Integer)"] [numBytesMoved="{num-bytes-moved} (Long)"]
                          [totalMailboxes="{total-mailboxes} (Integer)"] /> ## MoveBlobsResponse

The following table describes elements and attributes you can define within a <MoveBlobsResponse> element:

XPath Required / Optional Description
@numBlobsMoved Optional (0 or 1) Type:Integer
Number of blobs moved
@numBytesMoved Optional (0 or 1) Type:Long
Number of bytes moved
@totalMailboxes Optional (0 or 1) Type:Integer
Total number of mailboxes