ubuntu备份软件
如果您发现本文排版有问题,可以先点击下面的链接切换至老版进行查看!!!
ubuntu备份软件
-
1. 执行备份操作:dpkg --get-selections > installed-software.log,这将当前系统中已安装的软件保存到 installed-software.log 中。
2. 在还原时使用 dpkg --set-selections < installed-software.log 导入软件列表,再利用 dselect 工具安装软件。
-
备份/var/cache/apt/archives/下的.deb
如 sudo cp /var/cache/apt/archives/*.deb /media/hdx/cache/
:
重装后:
cd /media/xxx/ your backup dir
sudo cp *.deb /var/cache/apt/archives/
sudo apt-get update
- 分类:
- Devops
更新时间:
上一篇:下一篇: