The query backupset command can be used without the backupsetname parameter.
The preferred syntax for query backupset command requires the backupsetname parameter. Prior to the introduction of the backupsetname parameter, the Tivoli® Storage Manager client queried backup sets with a different syntax.
While you can use syntax from previous releases for this command, do not do so unless you have a specific need and cannot replace the old syntax with the syntax in Tivoli Storage Manager Version 6.1. For best results, use the backupsetname parameter.
This command is valid for all clients. Tape support is only available on AIX®, Solaris, and HP-UX.
>>-Query BACKUPSET--+---------+--+-backupsetname-+--------------> '-options-' +-localfilename-+ '-tapedevice----' >--+-----------------------+----------------------------------->< '-LOCation=--+-server-+-' +-file---+ '-tape---'
Option | Where to use |
---|---|
description | Command line only. |
description | Command line only. |
scrolllines | Client options file (dsm.opt) or command line. |
scrolllines | Client user-options file (dsm.opt) or command line. |
scrollprompt | Client options file (dsm.opt) or command line. |
scrollprompt | Client user-options file (dsm.opt) or command line. |
Command: query backupset
Command: query backupset monthly_financial_data.12345678
Command: dsmc query backupset /home/budget/weekly_budget_data.ost -loc=file
Command: query backupset c:\budget\weekly_budget_data.ost loc=file
Command: dsmc query backupset /dev/rmt0 -loc=tape
Command: dsmc query backupset \\.\tape0 -loc=tape