数字海洋快照是否包括操作系统?

发布于 2025-01-26 10:33:44 字数 103 浏览 5 评论 0原文

我想使用新版本的Ubuntu将数据从一个液滴移至另一滴。我正在考虑使用快照来执行此操作,但是由于我不是数字海洋专家,所以我想知道快照磁盘映像是否仅包含液滴的数据,或者它是否还包含操作系统信息。

I want to move the data from one droplet to another with a new version of Ubuntu. I was thinking about using snapshots to do this but since i'm not a digital ocean expert i was wondering if the snapshot disk image just contains the data of the droplet or if it also contains the operating system info.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏末染殇 2025-02-02 10:33:44

是的,Digitalocean快照是液滴的完整磁盘图像。有关更多信息,请参阅快照上的文档: https://digitalocean.com/products.com/productss/productss/productss/productss/productss/productss/ /images/snapshots/

有一份数字ocean指南,用于在此处安全升级Ubuntu: https://www.digitalocean.com/community/community/tutorials/how-to-prade-upgrade-to-broade-to-ubuntu-20-04-focal-focal-foscal-fossa 。在指南中,您可以为特定的升级说明选择当前的操作系统版本。

建议在执行操作系统升级之前先拍摄液滴的快照。如果有什么问题,这将为您提供备份。在开始升级之前,还可以阅读指南的“潜在陷阱”部分。

Yes, DigitalOcean snapshots are full disk images of Droplets. Refer to the documentation on snapshots for more information: https://docs.digitalocean.com/products/images/snapshots/

There is a DigitalOcean guide for upgrading Ubuntu safely here: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-20-04-focal-fossa. In the guide, you can select your current operating system version for specific upgrade instructions.

It is recommended to take a snapshot of the Droplet prior to performing an operating system upgrade. In case anything goes wrong, this will give you a backup to fall back to. Also read through the "Potential Pitfalls" section of the guide before starting the upgrade.

若无相欠,怎会相见 2025-02-02 10:33:44

简短答案:是的,快照是完整的磁盘图像。

更长的答案:如果您只想升级操作系统,则可以关注Matthew Fisher的答案并执行快照作为备份,然后升级OS版本。
但是,如果您确实想在液滴之间移动它,则可以创建Do Block存储,将其安装到液滴,将数据复制到音量,然后将其安装到替换液滴中。

Short answer: Yes, a snapshot is a full disk image.

Longer answer: If you just want to upgrade the OS, you can follow Matthew Fisher's answer and perform a snapshot as a backup, then upgrade the OS version.
If however you do actually want to move it between droplets, you can create DO block storage, mount it to the droplet, copy your data to the volume, then mount it to your replacement droplet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文