Files
2021-10-21 14:57:58 +08:00

20 lines
1.4 KiB
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4.1 系统快照,折腾无忧
首先从应用商店搜索安装Timeshift通过为系统制作快照让系统还原到你想要的时间点。折腾必备强烈推荐
快照类型RSYNC除非你的文件系统是btrfs。
位置:建议选择/home挂载的分区。
快照等级建议禁用计划或者勾选每月2次。推荐养成手动创建快照的好习惯特别是当涉及更新显卡驱动、内核等重要操作的时候。
用户:新手建议保持默认的“排除一切”。熟练后考虑选择“包含隐藏文件”并结合“筛选”可更稳妥的折腾。
筛选:可随意添加,-号代表排除,+号代表添加。同一目录“排除在前,添加在后!”
例如我的筛选部分列表如下:
- /home/<用户名>/.deepinwine
- /home/<用户名>/.wine
- /home/<用户名>/.config/google-chrome
- /home/<用户名>/.cache
+ /home/<用户名>/.**
- /root/**
配置完成后即可创建快照。
第一次快照需要完全备份,时间比较长,请耐心等待。之后凡是没修改的文件都只建立软链接,速度就非常快了。如果进不去桌面,可以在命令行下恢复。
查看sudo timeshift --list
还原sudo timeshift --restore
更多用法timeshift --help