个人工具

UbuntuHelp:MailingListFAQs/CloningandBackups

来自Ubuntu中文

跳转至: 导航, 搜索

Cloning And System Backups

There are many many options here. Consider this only a brief introduction to the possibilities.

Cloning Installed Software

To replicate your packages selection on another machine (or restore it if re-installing), you can do

#!bash
aptitude --display-format '%p' search'?installed!?automatic' > ~/my-packages

move the file "my-packages" to the other machine, and there type

#!
sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install

See also Reinstalling|Same Packages

Complete System Imaging

Backups

There are many ways to back your system up.

These are commonly used for large installations/enterprises and can be used for home users as well.

Rsync based tools are handy, quick and can save space when combined with hard links like

And there are many many more options like these