UCloner主页:
----------------
http://code.google.com/p/ucloner/
$ sudo apt-get install squashfs-tools
clone
---------------
sudo ./ucloner_cmd.py mode=clone lang=cn /=/dev/sda2 /_fs=ext4 /home=/dev/sda3 /home_fs=reiserfs /boot=/dev/sda4 /boot_fs=reiserfs /usr/local=/dev/sda5 /usr/local_fs=ext4 /usr=/dev/sda6 /usr_fs=xfs /var=/dev/sda7 /var_fs=jfs grubdev=/dev/sda swap=/dev/sda8 exclude=/home/pt/movies exclude=/home/pt/music
sudo ./ucloner_cmd.py mode=clone lang=cn /=/dev/sdb1 /_fs=ext4 grubdev=/dev/sdb
backup
-----------
sudo ./ucloner_cmd.py mode=backup lang=cn backup_to=/media/1204.squashfs exclude=/home/pt/movies exclude=/home/pt/music
sudo ./ucloner_cmd.py mode=backup lang=cn backup_to=/media/ubuntu-1204.squashfs
restore
-------------
sudo ./ucloner_cmd.py mode=restore lang=cn restore_from=/media/disk-1/ubuntu-10.04.squashfs /=/dev/sda2 /_fs=ext4 /home=/dev/sda3 /home_fs=reiserfs /boot=/dev/sda4 /boot_fs=reiserfs /usr/local=/dev/sda5 /usr/local_fs=ext4 /usr=/dev/sda6 /usr_fs=xfs /var=/dev/sda7 /var_fs=jfs grubdev=/dev/sda swap=/dev/sda8
sudo ./ucloner_cmd.py mode=restore lang=cn restore_from=/media/ubuntu-12.04.squashfs /=/dev/sdb1 /_fs=ext4 grubdev=/dev/sdb