doc-exports/docs/obs/umn/obs_03_0425.html
Jawei, Li 43ab92496d OBS UMN 2.0.38.SP5
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Jawei, Li <lijiawei5@huawei.com>
Co-committed-by: Jawei, Li <lijiawei5@huawei.com>
2022-11-07 09:41:09 +00:00

21 lines
4.7 KiB
HTML

<a name="obs_03_0425"></a><a name="obs_03_0425"></a>
<h1 class="topictitle1">Lifecycle Management Overview</h1>
<div id="body1521717214952"><p id="obs_03_0425__p4303101164712">Lifecycle management means periodically deleting objects in a bucket or transitioning between object storage classes by configuring rules.</p>
<div class="fignone" id="obs_03_0425__fig18775193517274"><span class="figcap"><b>Figure 1 </b>Lifecycle management</span><br><span><img id="obs_03_0425__en-us_topic_0045853659_image18424145416535" src="en-us_image_0138955590.png"></span></div>
<div class="MsoNormal" id="obs_03_0425__p8689502">Lifecycle management applies to the following scenarios:<ul id="obs_03_0425__en-us_topic_0045853659_ul394513342347"><li id="obs_03_0425__en-us_topic_0045853659_li1339895183311">Some periodically uploaded files need only to be retained for one week or one month, and can be deleted once they have expired.</li><li id="obs_03_0425__en-us_topic_0045853659_li1385724115347">Documents are seldom accessed after a certain period of time. These files need to be transitioned to <strong id="obs_03_0425__en-us_topic_0045853659_b426844005162114">Warm</strong> or <strong id="obs_03_0425__en-us_topic_0045853659_b794708140162114">Cold</strong> storage or be deleted.</li></ul>
</div>
<p class="MsoNormal" id="obs_03_0425__p533118202000">You can define lifecycle rules for identifying objects and manage lifecycles of the objects based on the rules.</p>
<p class="MsoNormal" id="obs_03_0425__p64157732195250">Objects that are no longer frequently accessed can be transitioned to <strong id="obs_03_0425__b02791572717">Warm</strong> or <strong id="obs_03_0425__b7885178202710">Cold</strong>, saving your costs. In short, transition basically means that the object storage class is altered without copying the object. You can also manually change the storage class of an object on the <strong id="obs_03_0425__b20798142323610">Objects</strong> page. For details, see <a href="obs_03_0414.html">Uploading a File or Folder</a>.</p>
<p class="MsoNormal" id="obs_03_0425__p26414404">Lifecycle rules have two key elements:</p>
<ul id="obs_03_0425__ul36403044"><li id="obs_03_0425__li22643234">Policy: You can specify the prefix of object names so that objects whose names have this prefix are restricted by the rules. You can configure lifecycle rules for a bucket so that all objects in the bucket can be restricted by the lifecycle rules.</li><li id="obs_03_0425__li60610947104121">Time: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Warm, Cold, or expire and are then automatically deleted.<ul id="obs_03_0425__ul6734890111214"><li id="obs_03_0425__li54662143111210"><strong id="obs_03_0425__b639104211195">Transition to Warm</strong>: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to <strong id="obs_03_0425__b174194215199">Warm</strong>.</li><li id="obs_03_0425__li13511407111232"><strong id="obs_03_0425__b162373435196">Transition to Cold</strong>: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to <strong id="obs_03_0425__b20239194331917">Cold</strong>.</li><li id="obs_03_0425__li3068995820145">Expiration time: You can specify the number of days after which objects are automatically deleted or the day after which an object that matches with a rule is deleted.</li></ul>
</li></ul>
<p id="obs_03_0425__p6016904211523">The previous number of days for objects to be transitioned to <strong id="obs_03_0425__b117428454274">Warm</strong> is at least 30. If objects are configured to be transitioned to both <strong id="obs_03_0425__b175995021918">Warm</strong> and <strong id="obs_03_0425__b676013502196">Cold</strong>, the number of days for transition to <strong id="obs_03_0425__b41191451182715">Cold</strong> must be at least 30 days later than that for transition to <strong id="obs_03_0425__b2076215504194">Warm</strong>. For example, if the number of days for transition to <strong id="obs_03_0425__b187633508191">Warm</strong> is 33, that for transition to <strong id="obs_03_0425__b87659508192">Cold</strong> must be 63 at least. If only transition to <strong id="obs_03_0425__b73245251915">Cold</strong> is enabled and transition to <strong id="obs_03_0425__b1434175241915">Warm</strong> is disabled, there is no limit on the number of days for transition. The expiration time must be greater than the two transition times.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0424.html">Lifecycle Management</a></div>
</div>
</div>