![]() |
![]() |
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.
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
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.
Examples
Command: query backup -inactive "*"
Command: q b-date=1 -time=4 "/home/proj/proj*"
Command: q b-date=5 -time=1 -ina -su=yes /home/
Command: query backup -nasnodename=nas2 -class=nas