How to use archlinux: Difference between revisions
Line 54: | Line 54: | ||
== 系统备份 == | == 系统备份 == | ||
brtfs 文件系统,支持增量备份,备份在当前盘。 | brtfs 文件系统,支持增量备份,备份在当前盘。 | ||
<pre> | |||
Snapshots are created using the built-in features of the BTRFS filesystem. | |||
快照使用 BTRFS 文件系统的内置功能来创建。 | |||
Snapshots are created and restored instantly. | |||
快照可瞬间创建和还原。 | |||
Snapshot creation is an atomic transaction at the file system level. | |||
快照的创建在文件系统层面上是一个原子操作。 | |||
Snapshots are restored by replacing system subvolumes. Since files are never copied, deleted or overwritten, there is no risk of data loss. The existing system is preserved as a new snapshot after restore. | |||
快照的还原通过替换系统子卷来完成。由于文件从未被复制、删除或覆盖,因此不存在数据丢失风险。还原后,原有系统会被保存为一个新的快照。 | |||
Snapshots are perfect, byte-for-byte copies of the system. Nothing is excluded. | |||
快照是系统的逐字节完整拷贝,不会遗漏任何内容。 | |||
Snapshots are saved on the same disk from which they are created (system disk). Storage on other disks is not supported. If system disk fails then snapshots stored on it will be lost along with the system. | |||
快照存储在与其创建源相同的磁盘(即系统盘)上,不支持将快照保存到其他磁盘。如果系统盘出现故障,快照也将随之丢失。 | |||
Size of BTRFS snapshots are initially zero. As system files gradually change with time, data gets written to new data blocks which take up disk space (copy-on-write). Files in the snapshot continue to point to original data blocks. | |||
BTRFS 快照的初始大小为零。随着系统文件的变化,新的数据会写入新的数据块(写时复制),占用磁盘空间;而快照中的文件仍然指向原始的数据块。 | |||
OS must be installed on a BTRFS partition with Ubuntu-type subvolume layout (@ and @home subvolumes). Other layouts are not supported. | |||
操作系统必须安装在具有 Ubuntu 风格子卷布局(包含 @ 和 @home 子卷)的 BTRFS 分区上,其他布局不受支持。 | |||
Devices displayed above have BTRFS filesystems | |||
上方列出的设备均使用 BTRFS 文件系统。 | |||
BTRFS snapshots are saved on system partition. Other partitions are not supported. | |||
BTRFS 快照仅保存在系统分区,其他分区不受支持。 | |||
Snapshots are saved to /timeshift-btrfs on selected partition. Other locations are not supported. | |||
快照会保存在所选分区的 /timeshift-btrfs 目录下,不支持保存到其他位置。 | |||
</pre> | |||
ext4 文件系统,只支持全量备份,可以选择备份位置。 | ext4 文件系统,只支持全量备份,可以选择备份位置。 |