How to recover a corrupted tar.gz file in ubuntu

Video is ready, Click Here to View ×

1) Insatall gzrt
#sudo apt-get install gzrt

2)Recover corrupted tar.gz file
#gzrecover my-corrupted-backup.tar.gz
This command will create a *.recovered file

3) Extract corrupted tar.gz file
#cpio -F my-corrupted-backup.tar.recovered -i -v
This command will extract files from corrupted tar.gz

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *