Jean-Pierre André wrote:
Adalbert Hanßen wrote:


I have heard about a command split. Would it work to pipe the output like this


sudo ntfsclone --save-image --output - /dev/sda2| split -b 2G - W530_sda2_Windows-10-System_2019-09-24.ntfsclone

*Would this be the right command for that purpose?* (I have never used split before and of course I want to be sure that the created image really works)


I have not used split either since it was required for posting
files through mail (which was initially limited to 50K).

I made a try, and it apparently works :

sudo ntfsclone --save-image --output - /dev/sda2 | gzip | split -b 2G - sda2.clone.gz

On second thought, you should use "split -b 2GB" (instead of 2G)
as 2G might be one over the maximum allowed size.

Jean-Pierre


this will produce several files : sda2.clone.gza, sda2.clone.gzb, etc.
which you can cat for restoring :

cat sda2.clone.gz* | gzip -d | sudo ntfsclone -r -o /dev/sda2 -

Note : I have no experience restoring Windows to a different
device. There might be driver issues for booting.
Would you please share your findings ?

Jean-Pierre




_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to