in Planet Linux OpenSource ~ read.

Backup and restore a Windows partition

Today I discovered 'ntfsclone' which is included in debian in the 'ntfsprogs' package.

For example if you wanna try to backup your /dev/hda3 to a remote host:

foobar:~ # ntfsclone --save-image --output - /edv/hda3 | \
	ssh $remotehost '( cat > xp.img )'

remotehost:~ # cat xp.img | ssh $foobar \
	'(ntfsclone --restore-image --overwrite /dev/hda3 - )'

Maybe you you also will have a look into 'ntfsresize'! ;-)