回滚磁盘
<p class="shortdesc"></p>
<section class="section prereq" id="Rollback_Snapshot__prereq_qyp_zwb_svb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<ol class="ol" id="Rollback_Snapshot__ol_sr1_1xb_svb">
<li class="li">云硬盘已创建过快照,并且要回滚的云硬盘当前没有正在创建的快照。</li>
<li class="li">要回滚快照的云硬盘未被释放。</li>
<li class="li">云硬盘如果挂载到某台ECS实例上,需要对实例进行关机,才能进行回滚磁盘操作。</li>
</ol>
</section>
<section class="section attention" id="Rollback_Snapshot__vhy_xwb_svb"><div class="tasklabel"><h2 class="doc-tairway">注意事项</h2></div>
<ol class="ol" id="Rollback_Snapshot__ol_ufj_bxb_svb">
<li class="li">快照回滚前请确认依赖资源是否存在,否则回滚后的快照仍无法恢复完整信息。<p class="p"><strong class="ph b">示例1</strong>:用户在t1时间绑定了密钥对登录云主机,创建快照s1,用户在t2云主机取消绑定密钥对,进行密码登录,然后删除密钥对。这种情况下若用户回滚到s1,是无法用密钥对登录云主机的。</p><p class="p"><strong class="ph b">示例2</strong>:用户某实例有2块网卡,创建快照s1,t2时间删除网卡1,t3时间再恢复快照s1,这种情况网卡1也是无法通过快照恢复的。</p></li>
<li class="li">重装系统后,历史系统盘快照不能用于回滚新的系统盘。</li>
</ol>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/ecs/overview" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">镜像与快照</span><abbr> > </abbr><span class="ph uicontrol">快照</span></span>,进入<span class="ph uicontrol">快照</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择目标地域,在目标快照操作列单击<span class="ph menucascade"><span class="ph uicontrol">⋮</span><abbr> > </abbr><span class="ph uicontrol">回滚磁盘</span></span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">弹出<span class="ph uicontrol">回滚磁盘</span>对话框,确认回滚信息是否正确。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确认</span>,快照状态变为<span class="ph uicontrol">还原中</span>。</span>
<div class="itemgroup info">
<div class="note note note_note" id="Rollback_Snapshot__note_pgr_xxb_svb"><span class="note__title">说明:</span>
<ul class="ul" id="Rollback_Snapshot__ul_z32_yxb_svb">
<li class="li">不管是回滚系统盘还是数据盘,ECS实例必须为关机状态。</li>
<li class="li">实例如果挂载了数据盘,回滚完成后,数据盘仍然为挂载状态。</li>
</ul>
</div>
</div>
</li></ol></section>
<section class="section result" id="Rollback_Snapshot__result_yht_yxb_svb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">快照页面提示<span class="ph uicontrol">操作成功</span>,目标快照状态为<span class="ph uicontrol">还原中</span>,大概3-5分钟后,状态变为可用,表示还原完成。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!