Tivoli Header

Tivoli Storage Manager Using the Application Program Interface

Using Commands

To view and manage objects that other users own either on the same node or on a different node, perform these steps:

  1. Give access with the set access command.
  2. Specify the owner and the node. Use the fromowner and fromnode options from the backup-archive command line to specify the owner and the node. For example:
       dsmc q ba "/A/*/*"  -fromowner=other_owner  -fromnode=other_node
    

See dsmInitEx for more information.

Table 15 describes the commands that you can use with API objects.

Table 15. Using Commands With API Objects

Command Description
Delete Archive Archived files that the current user owns can be deleted. The set access command settings have no effect on this command.
Delete Filespace The delete filespace command affects API objects.
Query From the backup-archive command line, you can query backed up and archived API objects and objects that other users own, or that reside on other nodes. See Naming Your API Objects for information about querying API objects.

Use the existing -fromowner option to query objects that a different user owns for which the set access permission has been given. Use the existing -fromnode option to query objects that reside on another node for which the set access permission has been given. See dsmInitEx for more information.

Restore
Retrieve
Note:
Use these commands for exception situations only.

These commands return data as bit files that are created using default file attributes. You can restore or retrieve API objects that other users own, or that are from a different node. The set access command determines which objects qualify.

Set Access The set access command permits users to manage API objects that another user owns, or that are from another node.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]