2

For use on a test computer, I need a free cloning tool to save NTFS and ext3 partitions to the same disk, ie. no need to up/download images from a server.

CloneZilla Live and PartImage (available on the live CD SystemRescueCd) seem to perform the same task, so I'd like some feedback from users who use those applications, or some alternatives.

Thank you.

OverTheRainbow
  • 277
  • 5
  • 13

2 Answers2

1

you can to with ntfsclone (man) for ntfs and ... well... tar for ext3 :)

i can really advise you using ntfsclone for ntfs, i am using it excessively, it's simple and efficient, quick and small, therefore well scriptable.

you can use tar to back-up and clone ext2/ext3 filesystems, but I'd rather suggest you using xfs, as it has enterprise-like backup software, called xfsdump, which can restore the XFS filesystem just as it was (with even security attributes too)

The way I am backing up my system (shell code snippets)

COMPRESS=pbzip2 -c
sudo xfsdump -p 30 -l 0 - /dev/sda1 | ${COMPRESS} | ccrypt -k /tmp/passfile -e > ${DEST}/${DATE}-root.xfsdump.bz2.ccrypt
dd if=/dev/sda of=${DEST}/${DATE}-mbr.dump  bs=1 count=512

YMMV, but after a time I'm sure you will find xfsdump and ntfsdump very useful. The best thing they provide that both filesystem and filesystem content is saved in one step, both are command line utils, therefore it's easier to "script" them than gui-based competition, plus xfsdump creates a (shrinked) file format you can even loop-mount to inspect the contents.

asdmin
  • 2,050
  • 17
  • 28
  • Thanks for the link. It seems like the Parted Magic live CD is a good option since it contains both Clonezilla and the GParted partition editor : www.partedmagic.com – OverTheRainbow Dec 03 '09 at 09:42
  • i used a customized sysresccd for my purposes. all the shell scripts where pre-written, and it worked by getting the image from a tftp location – asdmin Dec 03 '09 at 13:23
0

Clonezilla actually uses partimage, ntfsclone, and other software packages under the hood:

Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition. However, Clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.

It seems like if you want a multipurpose utility that can handle just about any disk task, Clonezilla is the most popular free software solution. However, if you are just trying to accomplish a single specific task, you might find it simpler to use a more focused tool.