Use the EXPIRE INVENTORY command to manually start inventory expiration processing. Only one expiration process is allowed at any time; therefore, if expiration processing is currently running, another process cannot be started. Expiration eligibility is determined by policy information assigned to either the backup or archive files. If a file is eligible for expiration, the storage used by this file is deallocated.
Automatic expiration processing is controlled by the EXPINTERVAL option specified in the ADSM server options file. If EXPINTERVAL is set to 0, no automatic expiration will occur, and this command will be necessary to start expiration processing.
This command creates a background process that can be canceled with the CANCEL PROCESS command. To display information on background processes, use the QUERY PROCESS command.
The inventory expiration process removes client backup and archive file copies from server storage under the terms specified by the management classes to which the files are bound. The management class copygroup parameters, RETEXTRA and RETVER, control backup version and archive copy deletion, respectively. Unexpired backup versions and archive copies are considered by the license audit process in determining the amount of storage managed by the server.
When the Disaster Recovery Manager (DRM) is licensed, the inventory expiration process removes database backup virtual volumes (except during ADSM initialization). The SET DRMDBBACKUPEXPIREDAYS command controls when these volumes are eligible for expiration. For additional information, see the SET DRMDBBACKUPEXPIREDAYS command.
Privilege Class
To issue this command, you must have system privilege.
Syntax
.-Quiet--=--No-------. >>-EXPIre Inventory---+--------------------+--------------------> '-Quiet--=--+-No--+--' '-Yes-' .-Wait--=--No-------. >----+-------------------+------------------------------------->< '-Wait--=--+-No--+--' '-Yes-'
Parameters
When you specify QUIET=YES, ADSM will issue messages about policy changes only when files are deleted and either the default management class or retention grace period for the domain has been used to expire the files. This parameter is optional.
You can also specify the EXPQUiet option in the server options file to automatically determine if expiration processing is performed with minimal summary messages.
The values are:
Note: | You cannot specify Wait=Yes from the server console. |
Examples
Task
Issue the EXPIRE INVENTORY command.
Related Commands
Table 95. Commands Related to EXPIRE INVENTORY
Command | Description |
---|---|
AUDIT LICENSES | Checks for compliance with defined licenses. |
CANCEL PROCESS | Cancels a background server process. |
QUERY PROCESS | Displays information about one or all background server processes. |