如何正确全盘备份 UEFI Ubuntu?

2019-04-26 13:28:01 +08:00
 dangyuluo

It is so weird that I'm not able to enter Chinese with iPad. That ’ s why I ’ m using English. I hope you wouldn ’ t mind or think I ’ m showing off.

We set up a demo laptop in the company. But sometimes developers also use that laptop to test their new stuffs which is, though not prohibited, IMHO a bad practice.

Recently, someone tried to upgrade the NVIDIA driver and messed up the whole system. It costed 2 hours of my personal time to restore the system to where it used to be. I hate to clean up shit like this.

In Windows7 I can use GHOST to backup the whole disk and deploy in minutes. What is the proper way to badkup Ubuntu? THANK

1954 次点击
所在节点    问与答
8 条回复
hexingb
2019-04-26 13:35:29 +08:00
attach a new disk and dd if=/dev/original/disk of=/a/path/in/new/disk bs=256M ? i'm just kidding if it fails. :)
chinesestudio
2019-04-26 13:39:43 +08:00
clonezilla
flynaj
2019-04-26 13:43:33 +08:00
clonezilla or dd
dragon11
2019-04-26 13:45:06 +08:00
英语不好就直接中文给你说吧。
Linux dd 命令可以整个硬盘备份,实际测试过 Linux 电脑的直接全部备份到新的硬盘,备份后新硬盘可以直接使用。
dd if=/dev/olddisk of=/dev/newdisk
dangyuluo
2019-04-26 13:46:08 +08:00
@hexingb 回复里居然可以打中文。dd 应该不行吧,系统运行中热备份估计会有坑。


@flynaj
@chinesestudio 我去研究下这个,谢谢
dangyuluo
2019-04-26 13:46:38 +08:00
@dragon11 是么?颠覆我的印象了。有机会虚拟机实验一下
flynaj
2019-04-26 15:00:04 +08:00
帮你 google 了一下,应该是这个 heartbeat+drbd https://unixboy.iteye.com/blog/515739
kuichieh
2019-04-27 01:50:47 +08:00
U 盘启动 + dd

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/558926

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX