• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

DigitalOcean 快照创建恢复新手图文教程 – VPS教程

主机教程 Liam 1年前 (2019-09-03) 449次浏览 9个评论 扫描二维码

DigitalOcean 作为全球第4大云服务商,拥有着Kubernetes 、MySQL、Redis、快照等强大的云服务功能,并且还支持API编程,对于大小用户使用起来非常的方便,今天我们就给大家介绍下 DigitalOcean 创建并使用快照(snapshot)的教程。

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

这里我们先创建了一台测试的服务器,并在服务器根目录下创建一个名为“snapshot-test.txt”的txt文件作为这台服务器的一个标识,在后面我们会使用快照恢复服务器看这个文件存在不,存在说明就是恢复快照成功的。

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

然后我们使用测试的机子创建一个快照,创建快照的方法为:点击你想要创建快照的服务器进入管理界面按照 1、选择侧边栏“Snapshot”菜单;2、默认有一个快照的名称你可以修改;3、点击“Take live snapshot”按钮创建快照,如下图所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

然后就会开始创建快照,如下图所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

创建好快照后就可以对快照进行操作:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

你也可以等快照先放着不管,以后要用可以像上面一样点击对应的服务的管理界面,点击“Snapshot”菜单 ,如果当前服务器有快照,那么就会显示。

另外还有个专门管理快照的地方,就是在侧边栏的“MANAGE”管理栏目下的“Images”菜单,点击后你就可以看到你所有的快照列表,如下图所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

下面看下怎样用快照来创建服务,点击快照功能列表的“Create Droplet”链接,如下图所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

创建服务的时候首先要选择快照,默认选择的是你上一步确定的快照,如果有多个这里还可以切换:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

后面的步骤就和创建服务是一样的了,创建好服务后,我们登录进去看下有没有我们之前标识的“snapshot-test.txt”这个文件,如下图所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

可以看到是有“snapshot-test.txt”这个标识文件的,说明恢复成功了。

如果快照不要了,我们可以删除快照,如下所示:

DigitalOcean 快照创建恢复新手图文教程 - VPS教程

以上就是 DigitalOcean 创建快照、恢复快照的相关教程,是不是很简单也非常的方便,特别是在配置复杂操作时候可以用到, 这样我们可以先创建操作前的快照,如果配置失败了,我们可以从快照中恢复服务,重新配置。DigitalOcean 还有很多强大的功能,后面我们会一一介绍,敬请关注。


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:DigitalOcean 快照创建恢复新手图文教程 – VPS教程
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(9)个小伙伴在吐槽
  1. Hi there! I know this is somewhat off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having problems finding one? Thanks a lot! cheap flights 31muvXS
    cheap flights2020-08-26 04:54 回复 Linux | Firefox浏览器 56.0.4
  2. I'm extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you modify it yourself? Anyway keep up the nice quality writing, it's rare to see a great blog like this one nowadays. cheap flights y2yxvvfw
    cheap flights2020-08-25 19:53 回复 Linux | Firefox浏览器 54.0
  3. Greetings! I've been reading your weblog for a long time now and finally got the courage to go ahead and give you a shout out from Kingwood Tx! Just wanted to say keep up the good job! cheap flights yynxznuh
    cheap flights2020-08-25 12:11 回复 Mac OS X | Firefox浏览器 62.0
  4. Hello to all, how is everything, I think every one is getting more from this web page, and your views are fastidious in support of new viewers. cheap flights 2CSYEon
    cheap flights2020-08-24 22:14 回复 Mac OS X | Chrome 52.0.2777.85
  5. Excellent way of describing, and fastidious piece of writing to get facts concerning my presentation subject, which i am going to convey in school.
    cheap flights2020-08-24 11:14 回复 Mac OS X | Chrome 56.0.2986.42
  6. Hey this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be enormously appreciated!
    webhosting2020-08-14 16:56 回复 Linux | Firefox浏览器 52.9
  7. Oh my goodness! Incredible article dude! Thanks, However I am going through issues with your RSS. I don't understand why I can't subscribe to it. Is there anyone else having the same RSS issues? Anybody who knows the answer will you kindly respond? Thanks!!
    web hosting sites2020-08-14 09:06 回复 Linux | Firefox浏览器 60.0.1
  8. Greetings! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having difficulty finding one? Thanks a lot! adreamoftrains best web hosting sites
    adreamoftrains web hosting providers2020-08-12 11:31 回复 Linux | Firefox浏览器 56.0.4
  9. I feel this is one of the most important information for me. And i'm happy reading your article. But should remark on some common things, The site taste is perfect, the articles is in reality great : D. Excellent task, cheers
    best website hosting2020-08-11 04:39 回复 Linux | Firefox浏览器 2.0.0.2