Earlier this week I cloned a partition using the following command:
Code:
ntfsclone -o - /dev/sda1 | gzip -c > backup.img.gz
Everything went fine and today I wanted to restore the image, so I tried the following:
Code:
gzip -cd backup.img.gz | ntfsclone --overwrite /dev/sda2 -
But I received an error saying:
Code:
ERROR(2): Failed to check '-' mount state: No such file or directory
I managed to restore the image using dd, but obviously the process went less efficiently than it could have if only used portions of the file system had been restored. I know I must be missing something really obvious here, so if one of you guys could point it out to me I'd be eternally grateful. Thanks in advance!