Managing backups with the DEVICE_CLASS parameter
Use the DEVICE_CLASS parameter in the CLIENT
section of the IBM® Storage Protect
Snapshot profile file to
select the storage device configuration for backups.
The IBM Storage Protect Snapshot DEVICE_CLASS profile parameter can be used as a filter to determine these backup criteria:
- Partition number
- Day of week
- Time of backup
- Cloning only: Clone database name
When used in this manner, the DEVICE_CLASS parameter provides access
to a specific storage device. This device is identified by the copy services type, user name, and
storage server name that is defined by the corresponding DEVICE_CLASS profile
section. It also provides a backup policy that is device-specific. For example, this device-specific
backup policy might be defined by these factors:
- List of target sets on DS8000®, SAN Volume Controller, or Storwize® family
- The type of snapshot backup to be completed (for example, incremental or copy)
- The mount location of the backup
- Whether a snapshot backup should be offloaded to an IBM Storage Protect server.
The DEVICE_CLASS parameter is specified in the client section of IBM Storage Protect Snapshot profile file. The settings for this parameter can be overridden with a command-line option during backup operations. Use the following command-line option:
- From the Oracle in an SAP environment interface
-S device class in SAP BR*Tools configuration profile (.sap) util_options parameter.
The DEVICE_CLASS parameter cannot be specified with the restore, mount, unmount, and delete commands. You can specify the backup ID, if it is not specified the latest backup is used. IBM Storage Protect Snapshot automatically uses the DEVICE_CLASS that was used for the selected backup at backup time.
Examples of how to use DEVICE_CLASS filters
>>> CLIENT
TSM_BACKUP LATEST USE_FOR MIRROR_2
DEVICE_CLASS MIRROR_1 MIRROR_2
[...]
<<<1), Wednesday (3), and
Friday (5). It creates backups to MIRROR_2 on Sunday
(0), Tuesday (2), and
Thursday (4), and Saturday
(6). All backups are stored on the IBM Storage Protect
server: >>> CLIENT
TSM_BACKUP LATEST
DEVICE_CLASS MIRROR_1 USE_AT Mon Wed Fri
DEVICE_CLASS MIRROR_2 USE_AT Sun Tue Thu Sat
[...]
<<< >>> CLIENT
TSM_BACKUP LATEST USE_FOR MIDNIGHT
DEVICE_CLASS DAYTIME FROM 1:00 TO 23:59
DEVICE_CLASS MIDNIGHT FROM 0:00 TO 0:59
[...]
<<<
>>> DEVICE_CLASS DAYTIME
COPYSERVICES_HARDWARE_TYPE SVC
FLASHCOPY_TYPE NOCOPY
[...]
<<<
>>> DEVICE_CLASS MIDNIGHT
COPYSERVICES_HARDWARE_TYPE SVC
FLASHCOPY_TYPE INCR
SVC_COPY_RATE 80
[...]
<<<DEVICE_CLASS myClass FROM 20:00 TO 23:59
DEVICE_CLASS myClass FROM 00:00 TO 06:00