/AWS1/CL_BUPLIFECYCLE¶
Specifies the time period, in days, before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the retention setting must be 90 days greater than the transition to cold after days setting. The transition to cold after days setting can't be changed after a backup has been transitioned to cold.
Resource types that can transition to cold storage are listed in the Feature availability by resource table. Backup ignores this expression for other resource types.
To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
specify -1 for MoveToColdStorageAfterDays
and DeleteAfterDays
.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_movetocoldstrgafterdays
TYPE /AWS1/BUPLONG
/AWS1/BUPLONG
¶
The number of days after creation that a recovery point is moved to cold storage.
iv_deleteafterdays
TYPE /AWS1/BUPLONG
/AWS1/BUPLONG
¶
The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in
MoveToColdStorageAfterDays
.
iv_optintoarchiveforsupped00
TYPE /AWS1/BUPBOOLEAN
/AWS1/BUPBOOLEAN
¶
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
Queryable Attributes¶
MoveToColdStorageAfterDays¶
The number of days after creation that a recovery point is moved to cold storage.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MOVETOCOLDSTRGAFTERDAYS() |
Getter for MOVETOCOLDSTORAGEAFTERDAYS, with configurable def |
ASK_MOVETOCOLDSTRGAFTERDAYS() |
Getter for MOVETOCOLDSTORAGEAFTERDAYS w/ exceptions if field |
HAS_MOVETOCOLDSTRGAFTERDAYS() |
Determine if MOVETOCOLDSTORAGEAFTERDAYS has a value |
DeleteAfterDays¶
The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in
MoveToColdStorageAfterDays
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DELETEAFTERDAYS() |
Getter for DELETEAFTERDAYS, with configurable default |
ASK_DELETEAFTERDAYS() |
Getter for DELETEAFTERDAYS w/ exceptions if field has no val |
HAS_DELETEAFTERDAYS() |
Determine if DELETEAFTERDAYS has a value |
OptInToArchiveForSupportedResources¶
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OPTINTOARCHIVEFORSUPPE00() |
Getter for OPTINTOARCHIVEFORSUPPEDRES00, with configurable d |
ASK_OPTINTOARCHIVEFORSUPPE00() |
Getter for OPTINTOARCHIVEFORSUPPEDRES00 w/ exceptions if fie |
HAS_OPTINTOARCHIVEFORSUPPE00() |
Determine if OPTINTOARCHIVEFORSUPPEDRES00 has a value |