AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Windows operating systems
IBM Tivoli Storage Manager, Version 7.1

Query Image

The query image command displays information about file system images that are stored on the Tivoli® Storage Manager server, or that are inside a backup set from the Tivoli Storage Manager server, when the backupsetname option is specified.

The following information about file system images is displayed:

Note: The Tivoli Storage Manager API must be installed to use the query image command.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Windows operating systems

Supported Clients

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems This command is valid for AIX®, HP-UX, all Linux clients, and Solaris.

Windows operating systems This command is valid for all Windows clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Query IMage--+------------+--+- --logicalvolumename-+-------><
                '- --options-'  '- --filespacename-----'   

Parameters

logicalvolumename
The name of a logical volume you want to query. You must specify the exact name of the image. You cannot use wildcards. The default is all active images (unless restricted by one or more options).
filespacename
Specifies the file system name that you want to query.

Omitting logicalvolumename and filespacename causes all images to be displayed.

Table 1. Query Image command: Related options
Option Where to use
backupsetname Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems dateformat Client user option file (dsm.opt) or command line.
Windows operating systems dateformat Client option file (dsm.opt) or command line.
fromnode Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems fromowner Command line only.
inactive Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems numberformat Client user option file (dsm.opt) or command line.
Windows operating systems numberformat Client option file (dsm.opt) or command line.
pitdate Command line only.
pittime Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems scrolllines Client user options file (dsm.opt) or command line.
Windows operating systems scrolllines Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems scrollprompt Client user options file (dsm.opt) or command line.
Windows operating systems scrollprompt Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems timeformat Client user option file (dsm.opt) or command line.
Windows operating systems timeformat Client option file (dsm.opt) or command line.

Examples

Task
Display all backed up images.

Command: q image

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Task
Display all backed up images owned by kutras at node avalon.

Command: query image -fromnode=avalon -fromowner=kutras

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Task
Display active and inactive version of the /usr image.

Command: q i /usr -inactive

Windows operating systems Task
Display active and inactive version of the h: image.

Command: q im h: -inactive

Task
Display all images that are contained within the backup set weekly_backup_data.32145678.

Command: query image -backupsetname=weekly_backup_data.32145678



Feedback