A while ago I made a backup of an entire disk using
dd if=/dev/nvme0n1 conv=sync,noerror bs=64K | gzip -c > backup.img.gz
Today I restored this backup to the same disk using
gunzip -c backup.img.gz | dd of=/dev/nvme0n1
dd exited with the following error message:
dd: writing to '/dev/nvme0n1': No space left on device 1000215217+0 records in 1000215216+0 records out 512110190592 bytes (512 GB, 477 GiB) copied, 5769.06 s, 88.8 MB/s
Do I have to assume that the restore process failed? If so, what can I do to restore my disk?
I also have a backup of
fdisk -l /dev/nvme0n1, and now after the restore operation, the output of
fdisk -l is the same like before, but I don't know if that is any guarantee of success.