1
wangmn 2021-05-25 17:44:33 +08:00
搞虚拟机吧
|
2
ziseyinzi 2021-05-25 17:45:03 +08:00 3
btrfs 的快照
|
4
wangmn 2021-05-25 17:51:08 +08:00
都 Linux 了 KVM 吧
|
5
skyrem 2021-05-25 17:57:21 +08:00
virtualbox 带快照功能,hyper-v 和 wmare 应该也带
|
6
seers 2021-05-25 18:00:39 +08:00
你直接 dd 一下
|
7
Jakarta 2021-05-25 18:24:43 +08:00 via Android
|
8
whoops 2021-05-25 18:24:48 +08:00 via iPhone
再生龙
|
9
timi 2021-05-25 18:40:51 +08:00
再生龙
|
10
Tink 2021-05-25 18:43:12 +08:00 via Android
did
|
11
emberzhang 2021-05-25 20:58:01 +08:00
ext4 好像不支持卷影
|
12
billlee 2021-05-25 21:16:34 +08:00 2
zfs 快照?
|
13
hanssx 2021-05-25 21:31:21 +08:00
## 备份与还原
### LiveCD rufus dd 刻录 ### rsync https://wiki.archlinux.org/index.php/Rsync ```shell #!/bin/sh START=$(date +%s) rsync -auvAX --delete --exclude {/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/var/lib/pacman/sync/*,/home/towdium/.local/share/Steam/*} /* /Your/Destination/Directory FINISH=$(date +%s) echo "total time: $(( ($FINISH-$START) / 60 )) minutes, $(( ($FINISH-$START) % 60 )) seconds" | tee /run/media/towdium/Files/manjaro/"Backup from $(date '+%A, %d %B %Y, %T')" ``` ### tar https://www.jianshu.com/p/b03a51c682a5 ```shell sudo tar --use-compress-program=pigz -cvpf backup-20160331.tgz --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/run --exclude=/mnt --exclude=/media --exclude=/lost+found --exclude=/var/lib/pacman/sync --exclude=/home/towdium/.local/share/Steam --exclude=/backup-20160331.tgz / tar --use-compress-program=pigz -xvpf /f/sysbackup/backup-20160331.tgz -C /mnt ``` ### timeshift Linux Mint 自带 ### restic 适合增量备份 ### Clonezilla(再生龙) 再生龙的后端是 part image 和 part clone ### dd 备份:dd 到 iso 迁移:dd if=/dev/sda of=/dev/sdb ### fsarchiver 需要自己修复启动引导 |
14
littlewing 2021-05-25 21:40:29 +08:00
Timeshift
|
15
maxat20xx 2021-05-25 21:43:23 +08:00 via Android
Timeshift +1
|
16
xiaomingVTEX 2021-05-25 21:59:31 +08:00
之前用过 Ubuntu 的备份
|
17
gyf304 2021-05-26 02:42:54 +08:00
LVM snapshot. btrfs 感觉有点半死不活的样子
|
18
gearfox 2021-05-26 11:15:31 +08:00
再生龙
|
19
libook 2021-05-27 18:39:23 +08:00
用 U 盘系统引导,然后 dd 备份系统磁盘或分区,出问题再 dd 回去就行了,这是最简单直接的方式,如果有高级需求可以看看其他楼的答案。
|
20
dujiangbo OP 谢谢各位回复!
|