qoperation auxcopy

Description

This command performs an auxiliary copy operation on the specified storage policy and secondary copy. The secondary copy must be created before running an auxiliary copy.

In case of an error, an error code and description are displayed as: "auxcopy: Error errorcode: errordescription"

Usage

qoperation auxcopy -sp <storagepolicy> [-spc <copy>] [-af <ArgumentFilepath>] [-tf <tokenfile>] [-tk <token>] [-h]

Options

-sp

Storage policy name

-spc

Secondary copy name

-af

Reads arguments from a file

-tf

Reads token from a file

-tk

Token string

-h

Displays help

Argument File

sp

Storage policy name

spcopy

Storage policy copy name

priority

Job priority

exportlocation

Export Location

transitlocation

Transit Location

usevms

Use VMS Flag (0/1)

mediastatus

Media status

startnewmedia

Start new media flag (0/1)

alert

Alert name

startsuspended

Start job in suspended state (0/1)

retryno

Number of times to retry the job

retrytime

Number of hours to retry the job

jobdescription

User-defined comments regarding the job

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

Perform an auxiliary copy operation with storage policy policy1 and storage policy copy copy2.

E:\commandline>qoperation auxcopy -sp policy1 -spc copy2
 175

Loading...