On Thu, 10 Apr 2003, Anton Altaparmakov wrote:
> have the imaging program do it immediately on image creation. It would
> also be really nice if on restore the imaging program can take the sparse
> file and use that to restore the data to the partition. That allows for
> example to run ntfsck (that will one day be written) and then to just
> restore the metadata to the old state quickly by restoring the sparse
> image with the metadata only option enabled.
Nice idea. It feels _very_ dangerous but right now I don't have any
argument against it.
However doing so now, you would destroy _all_ resident user data and
timestamps. 'ntfsclone --metadata' wipes the first one due to protecting
users' privacy and the second one for better compressed metadata-only
images to be potentially transfered through WAN.
Of course we can have options to disable these for the price to create
bigger compressed metadata-only images. Actually I planned most or all
"wipe" things to be optional, just like many metadata ones as well. And
probably the --metadata default must be with all disabled.
In short, don't do the below at least for now because it will destroy your
data (due to misusing the tool it was designed for)
ntfsclone --metadata -o file device
doing things on file ...
ntfsclone --metadata -o device file
Luckily the last line doesn't work and when I fix it probably I'll disallow
that combination.
Szaka
|