SET DRMDBBACKUPEXPIREDAYS (Specify DB backup series expiration)

Use this command to specify when a database backup series is eligible to be expired.

The value set by this command applies to both a snapshot and a full plus incremental database backup series. Any type of database backup series is eligible for expiration if all of the following are true:
  • The age of the last volume of the series exceeds the expiration value set with the SET DRMDBBACKUPEXPIREDAYS command and the value that is specified for the DELgraceperiod parameter in the DEFINE SERVER command. The DELgraceperiod parameter applies only to remote database backups. The default value for the DELgraceperiod parameter is 5 days. For example, if you set the value for the SET DRMDBBACKUPEXPIREDAYS command to 7 days and set the value for the DELgraceperiod parameter to 6 days, the remote database backup series does not expire until 13 days elapse.
  • For volumes that are not virtual volumes, all volumes in the series are in the VAULT state.
  • The volume is not part of the most recent database backup series.
Remember: The most recent backup series of either type is not deleted.
See the MOVE DRMEDIA command for more information on the expiration of database backup volumes that are not virtual volumes. See the EXPIRE INVENTORY command for more information on expiration of database backup volumes that are virtual volumes.

Use the QUERY DRMSTATUS to see the number of days specified.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagramSet DRMDBBackupexpiredaysdays

Parameters

days (Required)
Specifies the number of days that must elapse since a database series was created before it is eligible to be expired. The number of days must match the volume reuse delay period for copy storage pools that are managed by disaster recovery manager. Specify an integer value 0 - 9999.

Example: Set the database backup series expiration

Set the database backup series expiration value to 60.
set drmdbbackupexpiredays 60

Related commands

Table 1. Commands related to SET DRMDBBACKUPEXPIREDAYS
Command Description
DSMSERV RESTORE DB Restores an IBM Spectrum Protect database.
MOVE DRMEDIA Moves DRM media onsite and offsite.
QUERY DRMEDIA Displays information about disaster recovery volumes.
QUERY DRMSTATUS Displays DRM system parameters.
QUERY VOLHISTORY Displays sequential volume history information that has been collected by the server.
DEFINE SERVER Defines a server for server-to-server communications.