[電腦]PARTCLONE.NTFS LINUX下類似GHOST的軟體

Posted: 2010 年 08 月 03 日 in 軟體

PARTCLONE.NTFS的用法

(1)備份分割區–不採用壓縮 (完整備份使用空間, DATA20 GB, IMAGE就是20GB)
PARTCLONE.NTFS –c –s /dev/sda3 –o /home/partimag/imagefile.img

(2)還原分割區–不採用壓縮
PARTCLONE.NTFS –r –s /home/partimag/imagefile.img –o /dev/sda3

(3)備份分割區–使用gzip壓縮(完整備份使用空間有壓縮, DATA20 GB, IMAGE約12GB)
PARTCLONE.NTFS –c –s /dev/sda3 | gzip –1 –c > /home/partimag/imagefile.img.gz
(-1~-9代表壓縮率, -1最少壓縮,-9最大壓縮)

(4)還原分割區–使用gzip壓縮
gzip –d  -c  /home/partimag/imagefile.img.gz | PARTCLONE.NTFS –r –o /dev/sda3

NAME
partclone.ntfs – The utility for clone and restore an ntfs partition.SYNOPSIS
partclone.ntfs [options]… [MODE] [SOURCE FILE] [OUTPUT FILE]

OPTIONS
       -V, –version
              prints program version.

       -c, –clone
              Back used block to the special image format.

       -r, –restore
              Restore from the special image format.

       -b, –dev-to-dev
              Local device to device copy mode

       -d, –debug
              Show debug information.

       -h, –help
              Display help information.

       -s, –source
              Source FILE can be a partition or image file.

       -o, –output
              Output FILE can be a partition

       -O, –overwrite
              Output FILE, overwriting if exists

       -C, –no_check
       Don’t check device size and free space

       -N, –ncurses
       Using Ncurses User Interface

       -X, –dialog
       output message as Dialog Format

       -F, –force
       force progress

http://s10.histats.com/476.swf

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s