I've a .tar backup, when I try to extract using below command.
tar -xvf backup.tar
Nothing is extracting and no errors or warning
Seems like its corrupted. Is there any way to recover the .tar backup?
I've a .tar backup, when I try to extract using below command.
tar -xvf backup.tar
Nothing is extracting and no errors or warning
Seems like its corrupted. Is there any way to recover the .tar backup?
If tar fails to work due to a corrupted file, sometimes cpio is your friend:
cpio -ivd -H tar < backup.tar
cpio has been known to skip corrupted parts in a tar file. In this case you'll see a message about "skipping N bytes of junk".
Try solution from https://unix.stackexchange.com/a/96431/582295 i.e. -i. I had 209G archive that extracted only to 90G files with xf, but using xfi i was able to extract additional files (with some error at the end, but still better than nothing).