QUERY BACKUPSETCONTENTS (Query contents of a backup set)
Use this command to display information about the files and directories contained in a backup set for a client node.
Privilege class
To issue this command, you must have system privilege or policy privilege for the domain to which the client node is assigned.
Syntax
Parameters
- node_name (Required)
- Specifies the name of the client node whose data is contained in the backup set to display. The name you specify cannot contain wildcard characters nor can it be a list of node names separated by commas.
- backup_set_name (Required)
- Specifies the name of the backup set to display. The name that you specify cannot contain wildcard characters nor can it be a list of node names that are separated by commas.
- DATAType
- Specifies that the backup set containing the specified types of
data is to be queried. This parameter is optional. The default is
that a file level backup set is to be queried. Possible values are:
- FILE
- Specifies that a file level backup set is to be queried. File level backup sets contain files and directories backed up by the backup-archive client.
- IMAGE
- Specifies that an image backup set is to be queried. Image backup sets contain images created by the backup-archive client BACKUP IMAGE command.
Example: Query contents of a backup set for a specific node
query backupsetcontents jane pers_data.3099Node Name Filespace Client's Name for File
Name
------------------------ ---------- ------------------------
JANE /srvr /deblock
JANE /srvr /deblock.c
JANE /srvr /dsmerror.log
JANE /srvr /dsmxxxxx.log
JANE ... ......
Field descriptions
- Node Name
- Specifies the name of the client node whose data is contained in the backup set.
- Filespace Name
- Specifies the name of the file space to which the specified file
belongs.
File space names can be in a different code page or locale than the server. If they are, the names in the Operations Center and the administrative command-line interface might not be displayed correctly. Data is backed up and can be restored normally, but the file space name or file name might be displayed with a combination of invalid characters or blank spaces.
If the file space name is Unicode-enabled, the name is converted to the server code page for display. The success of the conversion depends on the operating system, the characters in the name, and the server code page. Conversion can be incomplete if the string includes characters that are not available in the server code page or if the server cannot access system conversion routines. If the conversion is incomplete, the name might contain question marks, blanks, unprintable characters, or ellipses (...).
- Client's Name for File
- Specifies the name of the file.
File space names and file names that can be in a different code page or locale than the server do not display correctly in the Operations Center or the administrative command-line interface. The data itself is backed up and can be restored properly, but the file space or file name may display with a combination of invalid characters or blank spaces.
If the file space name is Unicode enabled, the name is converted to the server's code page for display. The results of the conversion for characters not supported by the current code page depends on the operating system. For names that IBM Spectrum® Protect is able to partially convert, you may see question marks (??), blanks, unprintable characters, or ellipses (…). These characters indicate to the administrator that files do exist. If the conversion is not successful, the name is displayed as "(…)". Conversion can fail if the string includes characters that are not available in the server code page, or if the server has a problem accessing system conversion routines.
A file name that is displayed as "(…...)" indicates that both the file path and file name were not successfully converted. An example of the path and name could be:my\dir\...
Related commands
| Command | Description |
|---|---|
| DEFINE BACKUPSET | Defines a previously generated backup set to a server. |
| GENERATE BACKUPSET | Generates a backup set of a client's data. |
| GENERATE BACKUPSETTOC | Generates a table of contents for a backup set. |
| DELETE BACKUPSET | Deletes a backup set. |
| QUERY BACKUPSET | Displays backup sets. |
| UPDATE BACKUPSET | Updates a retention value associated with a backup set. |
