Query Group
Use the query group command to display information about a group backup and its members.
Note:
- Use the showmembers option to display and select individual group members that you want to query. The showmembers option is not valid with the inactive option. If you want to display members of a group that are not currently active, use the pitdate and pittime options to specify the backup date and time of the member you want to query.



Use the query
filespace command to display virtual file space names for
your node that are stored on the IBM
Spectrum Protect server.- If you perform a full and differential group backup, a query of this group using the
-inactive option displays two active backups of the same name, one of type FULL and
one of type DIFF.
These backups inactivate any previous full and differential
backups:
Protect> q group {\fs}\v1 -inactive Size Backup Date Mgmt Class A/I Group —––– ––––––––––– –––––––––– ––– –––––– 978 B 06/02/2007 11:57:04 DEFAULT A FULL \fs\v1 32 B 06/05/2007 13:52:04 DEFAULT A DIFF \fs\v1


Protect> q group {/fs}/v1 -inactive Size Backup Date Mgmt Class A/I Group —––– ––––––––––– –––––––––– ––– –––––– 978 B 06/02/2007 11:57:04 DEFAULT A FULL /fs/v1 32 B 06/05/2007 13:52:04 DEFAULT A DIFF /fs/v1If you query a group backup without the -inactive option, the query displays only the latest group backup, whether it is type FULL or type DIFF:

Protect> q group {\fs}\v1 Size Backup Date Mgmt Class A/I Group —––– ––––––––––– –––––––––– ––– –––––– 32 B 06/05/2007 13:52:04 DEFAULT A DIFF \fs\v1


Protect> q group {/fs}/v1 Size Backup Date Mgmt Class A/I Group —––– ––––––––––– –––––––––– ––– –––––– 32 B 06/05/2007 13:52:04 DEFAULT A DIFF /fs/v1
Supported Clients


This command is valid for all clients, except for Mac OS
X.
This command is valid for all clients.
Syntax
Parameters
filespec
Specifies the virtual file space name (enclosed in braces) and
the group name on the server that you want to query.

filespec

Specifies the virtual file space name and the group name on the
server that you want to query.
| Option | Where to use |
|---|---|
| fromnode | Command line only. |
![]() ![]() fromowner |
![]() ![]() Command line only. |
| inactive | Command line only. |
| pitdate | Command line only. |
| pittime | Command line only. |
![]() ![]() ![]() showmembers (does
not apply to Mac OS X) |
![]() ![]() ![]() Command line only. |
Examples


Task

Display all the groups in the /virtfsfile space.Command:query group /virtfs/*
Task
Display all the groups in the virtfsfile space.Command:query group {virtfs}\*

Task

Display active and inactive versions of the /virtfs/group1file space.Command:query group /virtfs/group1 -inactive
Task
Display active and inactive versions of the virtfs\group1file space.Command:query group {virtfs}\group1 -inactive

Task

Display the /virtfs/group1file space. Use the showmembers option to display a list of group members from which you can select one or more to query.Command:query group /virtfs/group1 -showmembers
Task
Display the virtfs\group1file space. Use the showmembers option to display a list of group members from which you can select one or more to query.Command:query group {virtfs}\group1 -showmembers
