• Homepage
  • Categories
利用timeshift自动备份系统
Experiences and Insight931 views ·14 replies
Tofloor
ab588588
deepin^1
2020-10-14 03:33
Author
        前几天自己乱搞系统,不小心把操作系统文件损坏了,不得已只能重新安装。于是就想如何自动备份系统,万一将来出现问题可以及时恢复,免受重装之苦。从网上搜索了下多款备份软件,最终选定使用timeshift。下面是安装和配置步骤:

STEP1:
先把硬盘分出一个分区,专门存放timeshift快照,我的已经分好了。如下图所示:



STEP2:
安装timeshift
  1. sudo apt install timeshift
Copy the Code

STEP3:
安装完成后,终端运行timeshift-launcher配置备份策略。选择使用rsync方式



STEP4:
选择备份文件存储的位置


STEP5:
选择备份时间,我由于是最近要不断的折腾,所以就配置了每次重启都备份一次。最多保留5个快照文件。




STEP6:
选择要备份的目录,我的系统做两个分区,干脆都备份了。


STEP7:
最后完成就可以了,以后每次启动都会自动备份系统。等以后不再经常折腾的话,可以选择其他的备份策略。




我现在的系统已经做了几个备份了,以后系统出问题可以使用timeshift恢复了。因为每次都是快照,所以备份速度很快。




ReplyFavoriteView the author
All Replies
jingle
deepin^10
2020-10-14 04:14
#1
确实不错
ReplyView the author
ghostry
deepin^6
2020-10-14 06:47
#2
还是喜欢btrfs快照备份
ReplyView the author
as763190097
deepin^6
2020-10-14 08:44
#3

deepin live系统能否默认增加timeshift软件
ReplyView the author
SamLukeYes
deepin^7
2020-10-14 14:42
#4
本帖最后由 samlukeyes123 于 2020-10-15 00:31 编辑

原来 timeshift 正确的打开方式是把快照放在非系统分区,感谢楼主提醒
ReplyView the author
kirin2020
deepin^5
2020-10-15 05:41
#5
我是win10 + deepin 20双系统,除了系统安装目录,其它全是WIN系统分区的,怎样释放出一个闲置的LINUX分区专门用来存放这些快照呢??有什么好的分区调整软件可以确保调整分区后不影响双系统启动和正常运行的吗??我怕一调整分区就两个系统都报废了。
ReplyView the author
好大的煎锅
deepin^1
2020-10-15 06:35
#6
我的筛选部分设置总是无效,不知道是什么原因


ReplyView the author
SamLukeYes
deepin^7
2020-10-15 06:50
#7
https://bbs.deepin.org/post/203799
我是win10 + deepin 20双系统,除了系统安装目录,其它全是WIN系统分区的,怎样释放出一个闲置的LINUX分区 ...

其实直接存在系统分区也可以的,不小心把系统玩坏的时候仍然可以恢复,只是分区坏了的时候就救不了了
ReplyView the author
ab588588
deepin^1
2020-10-16 15:30
#8
https://bbs.deepin.org/post/203799
我是win10 + deepin 20双系统,除了系统安装目录,其它全是WIN系统分区的,怎样释放出一个闲置的LINUX分区 ...

可以调整linux系统的分区大小,然后再重新分出一个新的分区就好。
如果windows系统分区是动态磁盘的话,windows下调整了,linux也识别不出来吧。
ReplyView the author
ab588588
deepin^1
2020-10-16 15:31
#9
https://bbs.deepin.org/post/203799
我的筛选部分设置总是无效,不知道是什么原因

设置后不生效吗?
ReplyView the author
lanyun7112
deepin^3
2020-10-16 16:32
#10
https://bbs.deepin.org/post/203799
deepin live系统能否默认增加timeshift软件

同问,无法进入图形模式,无法进入面命令行模式后,没办法再恢复,live模式里没有加这个工具,有这个工具的安装包也装不了,只能重装系统后再恢复,风险有点大
ReplyView the author
剥壳白煮蛋
deepin^4
2021-02-05 11:46
#11

用着用着, 突然打不开了

 

```bash

 $ timeshift-launcher

(timeshift-gtk:4970): GLib-GObject-CRITICAL **: 19:43:52.935: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(timeshift-gtk:4970): Gtk-WARNING **: 19:43:52.982: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name
[警告]删除无效锁定

(timeshift-gtk:4970): Json-CRITICAL **: 19:43:53.092: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

(timeshift-gtk:4970): Json-CRITICAL **: 19:43:53.092: json_object_has_member: assertion 'object != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_string: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_string: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_uint64: assertion 'jobj != NULL' failed

** (timeshift-gtk:4970): CRITICAL **: 19:43:53.092: tee_jee_json_helper_json_get_uint64: assertion 'jobj != NULL' failed

(timeshift-gtk:4970): Json-CRITICAL **: 19:43:53.092: json_object_has_member: assertion 'object != NULL' failed

(timeshift-gtk:4970): Json-CRITICAL **: 19:43:53.092: json_object_has_member: assertion 'object != NULL' failed
应用配置已加载: /etc/timeshift.json
/usr/bin/timeshift-launcher:行 30:  4970 段错误               pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ${app_command}
```

看备份文件, 最新的是2月4号的快照, 可今天是5号.

ReplyView the author
dsxjxm
deepin^1
2021-02-21 03:25
#12

win+linux双系统,bios下g4d引导。手动tar备份与恢复。系统崩了可以grub2装载live镜像进入操作。当然快照似乎简洁些

ReplyView the author
不会开车有驾照
deepin^5
2021-02-21 03:39
#13

这个不错,我一直在用,专门建了个recovery分区

ReplyView the author
不会开车有驾照
deepin^5
2021-02-21 03:39
#14

ReplyView the author

Rankings

  • Weekly
  • Monthly
  • Total