<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>服务器安全维护工作室 &#187; EBS Snapshot</title>
	<atom:link href="https://www.fuwuqiok.com/tag/ebs-snapshot/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fuwuqiok.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Mar 2020 07:28:40 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.26</generator>
	<item>
		<title>EBS创建快照及通过快照恢复</title>
		<link>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/</link>
		<comments>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/#comments</comments>
		<pubDate>Sat, 08 Aug 2015 07:11:44 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[AWS 快照]]></category>
		<category><![CDATA[EBS Snapshot]]></category>
		<category><![CDATA[EBS创建快照及通过快照恢复]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2431</guid>
		<description><![CDATA[<p>Amazon EC2实例，是使用Elastic Block Store（EBS）作为存储的，必要时可以通过EB [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/">EBS创建快照及通过快照恢复</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<div class="entry-text clearfix">
<p>Amazon EC2实例，是使用Elastic Block Store（EBS）作为存储的，必要时可以通过EBS快照，进行数据的恢复。在这里就介绍一下如何创建EBS快照和通过快照复旧。</p>
<h2>创建快照（Snapshot）</h2>
<p>1.打开EC2控制面板。如下，点击「卷」，选择需要创建快照的卷，点击「操作」从下拉菜单选择「创建快照」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes1.png" alt="Volumes1" width="683" height="337" /></a></p>
<p>2.填写快照名称，描述。点击「创建」。「Name」填写为容易区别的快照名，以便以后选择使用。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Snapshot1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Snapshot1.png" alt="Create-Snapshot1" width="625" height="277" /></a></p>
<p>3.创建完成，点击「关闭」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-close.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-close.png" alt="Snapshot-close" width="321" height="229" /></a></p>
<p>4.可以确认，快照创建完成。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-ok.png" alt="Snapshot-ok" width="694" height="443" /></a></p>
<h2>通过创建的快照，进行EBS复旧</h2>
<p>通过快照恢复数据时，要按照一下步骤进行：</p>
<ul>
<li>利用之前创建的快照作成EBS卷</li>
<li>停止EC2实例</li>
<li>分离连接到EC2实例的卷</li>
<li>把作成的卷连接到EC2实例</li>
<li>起动EC2实例</li>
</ul>
<p>1.利用之前创建的快照作成EBS 卷。</p>
<p>选择新创建的「快照」，点击「操作」，从下拉菜单选择「创建卷」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-volumes.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-volumes.png" alt="Create-volumes" width="695" height="444" /></a></p>
<p>2.如下，默认即可，点击创建。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Volume1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Volume1.png" alt="Create-Volume1" width="695" height="342" /></a></p>
<p>注：需创建与EC2实例相同可用区域 (AZ)的卷。</p>
<p>3.卷创建完成，点击「关闭」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-close.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-close.png" alt="Volume-close" width="294" height="232" /></a></p>
<p>4.确认新创建的卷。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-ok.png" alt="Volume-ok" width="1071" height="198" /></a>5.更换卷，需要停止EC2实例。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/EC2-stop.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/EC2-stop.png" alt="EC2-stop" width="760" height="111" /></a></p>
<p>6.分离之前连接到EC2实例的卷。</p>
<p>选择卷，点击「操作」，从下拉菜单选择「断开卷」。 <a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes-Detach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes-Detach.png" alt="Volumes-Detach" width="902" height="407" /></a>7.点击「是，请断开」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/yes-Detach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/yes-Detach.png" alt="yes-Detach" width="470" height="206" /></a></p>
<p>8.把作成的卷连接到EC2实例。</p>
<p>选择新创建的卷，点击「操作」，从下拉菜单选择「连接卷」。如下：</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Volume1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Volume1.png" alt="Attach-Volume1" width="900" height="404" /></a>9.默认即可，点击「添加」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach.png" alt="Attach" width="1210" height="324" /></a>10.可以确认，卷被连接上了。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Instance1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Instance1.png" alt="Attach-Instance1" width="1088" height="141" /></a>11.重新成功启动实例。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-ok.png" alt="Attach-ok" width="1051" height="174" /></a></p>
<h2>后话</h2>
<p>EBS快照还可以共享给特定用户，感兴趣读者，请查阅本博客【<a title="AWS之AMI或EBS快照共享" href="http://www.awsok.com/aws-ami-ebs/">AWS之AMI或EBS快照共享</a>】一文。</p>
</div>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/">EBS创建快照及通过快照恢复</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
