On Thu, 18 Mar 2004, Szakacsits Szabolcs wrote:
> 2) use a compressing filesystem on the local partition so you could get
> transparent compression and ntfsclone would just work.
>
> Unfortunately there aren't many for Linux. None of ext2, ext3,
> reiserfs, xfs, jfs supports this (ext2 had a broken compression
> module long ago but today it's a totally dead project). IMHO
> jffs2, compressed iso fs or gzipfs (www.filesystems.org) could
> do it but I've never tried.
Another way came to my mind, cloop (compressed loop device) what
Knoppix and most Live CD uses. It's available here (I think),
http://developer.linuxtag.net/knoppix/sources/
Backup:
ntfsclone -o - device | create_compressed_fs - blocksize > cloop.compressed
Restore:
install cloop kernel module
losetup /dev/cloop1 /path/to/file
ntfsclone --overwrite orig_device /dev/cloop1
I didn't test this but I can't see why it wouldn't work.
Cheers,
Szaka
|