Performing Ad-Hoc Archive Operations

Ad-hoc archive operations are on-demand archive operations that allow subclient content to be specified as an external input when starting an archive operation. When you start an ad-hoc archive operation from the command line, you can specify the content in a directive file.

On UNIX, the ad-hoc archive operation can automatically mount the subclient content. For information about the auto-mount requirements for ad-hoc archive operations, see Auto-Mount Path Requirements for Ad-Hoc Archive Operations.

Before You Begin

Procedure

  1. Download the ad_hoc_archive_template.xml file and save it on the computer from where the command will be executed.

  2. From Command prompt, navigate to software_installation_directory/Base and run the following command:

    qlogin -cs $[commserve_host_name] -u $[user_name]

  3. Execute the saved .xml script using qoperation execute command.

    qoperation execute -af ad_hoc_archive_template.xml -clientName $[client_name] -backupsetName $[backup_set_name] -subclientName $[subclient_name] -onDemandInputFile $[absolute_path_to_directive_file.txt]

  4. Verify the status of the job using the following command:

    qlist job –j $[JOBID]
    
  5. Once the job completes, logout from the CommServe using the qlogout command.

    qlogout [-cs $[commserve_host_name]] [-all] [-tf $[tokenfile]] [-tk $[token]] [-h]
    

Example

qoperation execute -af ad_hoc_archive_template.xml -clientName $[client1] -backupsetName $[backupset1] -subclientName $[subclient1] -onDemandInputFile $[E:directive1.txt]

What to Do Next

To restore ad-hoc backup data, perform a restore operation.

×

Loading...