[Internal testing communication] Deepin 25 系统软件包备份与恢复指南
Tofloor
poster avatar
LiuYongzhang
deepin
11 hours ago
Author

备份「仅已安装」的软件包列表 执行后,备份文件会保存到:~/package_list_installed.txt(家目录下)记得保存到需要的地方去

# 备份仅已安装的软件包(过滤deinstall,生成纯净备份文件)
dpkg --get-selections | grep -v deinstall > ~/package_list_installed.txt

恢复 deepin_pkg_restore.sh.txt下载恢复sh脚本,重命名为deepin_pkg_restore.sh

和备份软件列表package_list_installed.txt放在同一目录下,双击deepin_pkg_restore.sh在终端运行即可 然后输入密码

可以随意移动脚本和备份文件,只要二者在同一个文件夹。

image.png

Reply Favorite View the author
All Replies
ycscg
deepin
8 hours ago
#1

V25备份还原只能叫叫系统修复或者系统文件恢复,不能叫备份还原,因为根本不能还原用户数据。前几天我误删了home分区几个子目录中的一些文件,用系统自动快照还原发现home分区里一个文件也没恢复。

Reply View the author