Tivoli Header

Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide

Query Backup

The query backup command displays a list of backup versions of your files. File information includes the file specification, size, backup date, whether the file is active or inactive, and the management class assigned to the file. Only the first ten characters of the management class name are displayed.

Querying NAS File System Images

You can use the query backup command to display information about file system images backed up for a NAS file server.

Use the nasnodename option to identify the NAS file server to query. When using an interactive command line session with a non-administrative ID, Tivoli Storage Manager prompts for an administrator ID. Place the nasnodename option in your client system options file dsm.sys. The value in the client system options file is the default, but this value can be overridden on the command line. See Nasnodename for more information.

Use the class option to specify the class of the file space to query. To display a list of images belonging to a NAS node, use the -class=nas option. Using the default, -class=client, will not change the current query backup behavior. See Class for more information.

Supported Clients

This command is valid for all UNIX clients.

Syntax

>>-Query Backup--+----------+--+- filespec---+-----------------><
                 '- options-'  '- "filespec"-'
 
 

Parameters

options
You can use these command line options with the query backup command: class, dirsonly, filelist, filesonly, fromdate, fromnode, fromowner, fromtime, inactive, pitdate, pittime, todate, totime. For more information, see Chapter 10, "Using Options with Commands".

You can use these common options with the query backup command: subdir, scrolllines, nasnodename, scrollprompt. See Chapter 9, Setting Processing Options for information about these common options.

filespec
Specifies the path and file name that you want to query. Use wildcard characters to specify a group of files or all the files in a directory. If you use wildcard characters, enclose the file specification in double quotation marks. Specify an asterisk (*) to display information about backup versions for all of your files in the current directory. Do not use wild cards when you query NAS file system images with -class=nas option.

Examples

Task
Display a list of all active and inactive backup versions of your files in the current directory.

Command: query backup -inactive "*"

Task
Display a list of files that were backed up from the /home/proj directory with file names that begin with proj. Use the dateformat and timeformat options.

Command: q b-date=1 -time=4 "/home/proj/proj*"

Task
Display a list of active and inactive backup file versions in the /home file system. Use the dateformat and timeformat options.

Command: q b-date=5 -time=1 -ina -su=yes /home/

Task
Query file system images from the nas2 NAS file server.

Command: query backup -nasnodename=nas2 -class=nas


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