You can update, rename, query, and delete backup
sets.
Task | Required Privilege Class |
---|---|
Delete backup set | If the REQSYSAUTHOUTFILE server option is set to YES, system privilege is required. If the REQSYSAUTHOUTFILE server option is set to NO, system or restricted policy over the domain to which the node is assigned is required. |
Update backup set | System or restricted policy over the domain to which the node is assigned |
Display information about backup sets | Any administrator |
Display information about backup set contents | System or restricted policy over the domain to which the node is assigned |
When you want to change the number of days the server retains a backup set, update the retention period that is associated with the backup set. For example, to update the retention period assigned to backup set named ENGDATA.3099, belonging to client node JANE, to 120 days, enter:
update backupset jane engdata.3099 retention=120
When the server creates a backup set, the retention period assigned to the backup set determines how long the backup set remains in the database. When that date passes, the server automatically deletes the backup set when expiration processing runs. However, you can also manually delete the client's backup set from the server before it is scheduled to expire by using the DELETE BACKUPSET command.
After a backup set is deleted, the volumes return to scratch status if TSM acquired them as scratch volumes. Scratch volumes associated with a device type of FILE are deleted.
For example, to delete backup set named ENGDATA.3099, belonging to client node JANE, that was created prior to 11:59 p.m. on March 18, 1999, enter:
delete backupset jane engdata.3099 begindate=03/18/1999 begintime=23:59
You can display information about backup sets by using the QUERY BACKUPSET command. You can specify a date and time when the backup set was created to limit the backup sets that display.
When you query the server for information about backup sets, the server returns information such as:
The following figure shows the report that is displayed after you enter:
query backupset
+--------------------------------------------------------------------------------+ | Node Name: JANE | | Backup Set Name: MYBACKUPSET.3099 | | Date/Time: 06/09/1999 16:17:47 | | Retention Period: 60 | |Device Class Name: DCFILE | | Description: | +--------------------------------------------------------------------------------+
You can display information about the contents of backup sets by using the QUERY BACKUPSETCONTENTS command. The server displays information about the files and directories that are contained in a backup set.
The following figure shows the report that is displayed after you enter:
query backupsetcontents jane engdata.3099
+--------------------------------------------------------------------------------+ |Node Name Filespace Client's Name for File | | Name | |------------------------ ---------- ------------------------------------------ | |JANE /srvr /deblock | | | +--------------------------------------------------------------------------------+