DEFINE DEVCLASS (Define a CLOUD device class)

Use the CLOUD device class to back up IBM Spectrum® Protect server databases to the cloud. Retention storage pools are supported by this device class.

Restriction: The CLOUD device class can be used only for database backup operations and to define storage pools with POOLTYPE=RETENTION.

Privilege class

To issue this command, you must have system privilege or unrestricted storage privilege.

Syntax

Read syntax diagramSkip visual syntax diagramDEFine DEVclassdevice_class_name DEVType=CLOUDCONNection=connection_name CLOUDSTORAGEClass=DefaultCLOUDSTORAGEClass=DefaultAUTOmaticvendortieringNEARLINEGLACIERDEEPGLACIERARchiveACCARchiveCOLDLINE
Restriction: The GLACIER, DEEPGLACIER, ARchive, and ACCARchive storage classes are used for retention storage pools. These classes must not be used for other types of data, like database backup or container storage pools. If the ARchive and ACCARchive values are used, then the bucket must not be shared with other types of data. The bucket must only be used by the associated retention storage pool.

Parameters

device_class_name (Required)
Specifies the name of the device class to be defined. The maximum length of the device class name is 30 characters.
DEVType=CLOUD (Required)

Specifies that the CLOUD device type is assigned to the device class.

CONNection (Required)

Specifies the connection to use for the device class.

This connection contains the credentials that are required to connect to the cloud environment.

CLOUDSTORAGEClass
Specifies the type of IBM Cloud® Storage, Amazon Web Services (AWS) with Simple Storage Service (S3), or Google Cloud Storage storage class that you are configuring for the storage pool. This parameter is optional.
Restriction: The GLACIER, DEEPARCHIVE, ARCHIVE, and ACCARCHIVE cloud storage classes cannot be used for database backup operations.

You can specify the following values, based on your cloud provider:

Default
Specifies that data that is uploaded to Amazon S3 storage is sent to the S3 Standard storage class. Data that is uploaded to Google Cloud Storage is sent to the Google Cloud Storage Standard storage class.
AUTOmaticvendortiering
Specifies that data that is uploaded to Amazon S3 storage is sent to the S3 Intelligent-Tiering storage class.
NEARLINE
Specifies that data that is uploaded to Google Cloud Storage is sent to the Nearline storage class.
GLACIER
Specifies that data that is uploaded to Amazon S3 storage is sent to the Amazon S3 Glacier Flexible Retrieval (formerly Amazon S3 Glacier) storage class.
DEEPGLACIER
Specifies that data that is uploaded to Amazon S3 storage is sent to the Amazon S3 Glacier Deep Archive storage class.
ARchive
Specifies that data that is uploaded to IBM Cloud Storage (public cloud) is sent to the IBM Cloud Object Storage Archive class. If this storage class is used, use the bucket with the retention storage pool and do not share the bucket with other types of data. Data that is uploaded to Google Cloud Storage is sent to the Google Cloud Storage Archive storage class.
ACCARchive
Specifies that data that is uploaded to IBM Cloud Storage (public cloud) is sent to the IBM Cloud Object Storage Accelerated Archive class. If this storage class is used, use the bucket with the retention storage pool and do not share the bucket with other types of data.
COLDLINE
Specifies that data that is uploaded to Google Cloud Storage is sent to the Google Cloud Storage Coldline storage class.

Example: Define a CLOUD device class for database backup

Define a cloud device class.

define devclass clouddevclass devtype=cloud connection=cloudconnection