SET DRMRPFEXPIREDAYS (Set criteria for recovery plan file expiration)
Use this command to specify when recovery plan files are eligible for expiration. This command and expiration processing apply only to recovery plan files that were created with the DEVCLASS parameter specified on the PREPARE command (that is, virtual volumes of type RPFILE and RPSNAPSHOT). Expiration processing on the source server expires plan files that are stored on the target server. Locally created recovery plan files are not expired.
An RPFILE file is associated with a full plus incremental database backup series. An RPFSNAPSHOT file is associated with a database snapshot backup series.
Attention: The latest
RPFILE and RPFSNAPSHOT files are never deleted.
A recovery
plan file is eligible for expiration if both of the following are
true:
- The last recovery plan file of the series exceeds the expiration value that is specified with the SET DRMRPFEXPIREDAYS command and the value that is specified for the DELgraceperiod parameter in the DEFINE SERVER command. The default value for the DELgraceperiod parameter is 5 days. For example, if you set the value for the SET DRMRPFEXPIREDAYS command to 80 days and set the value for the DELgraceperiod parameter to 6 days, the recovery plan file does not expire until 86 days elapse.
- The latest recovery plan file is not associated with the most recent database backup series.
For more information about expiration processing, see the EXPIRE INVENTORY command.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- days (Required)
- Specifies the number of days that must elapse before a recovery plan file expires. You can specify a number 0 - 9999. At installation, this value is set to 60.
Example: Set the recovery plan expiration
Set the recovery plan file expiration value to 30.set drmrpfexpiredays 30
Related commands
Command | Description |
---|---|
PREPARE | Creates a recovery plan file. |
QUERY DRMSTATUS | Displays DRM system parameters. |
QUERY RPFCONTENT | Displays the contents of a recovery plan file. |
QUERY RPFILE | Displays information about recovery plan files. |
QUERY VOLHISTORY | Displays sequential volume history information that has been collected by the server. |
SET DRMDBBACKUPEXPIREDAYS | Specifies criteria for database backup series expiration. |
DEFINE SERVER | Defines a server for server-to-server communications. |