I have a .gz file that is corrupted.
Is it possible to extract the data from this file? Even if it's partially?
This file is an sql database dump.
Thanks.
I have a .gz file that is corrupted.
Is it possible to extract the data from this file? Even if it's partially?
This file is an sql database dump.
Thanks.
Yes, you can try to recover a .gz file, but expect to have large data loss from the middle of it.
First, make a copy of the file and work only with the copy.
Make a
gunzip < arquivo_com_erro.gz > arquivo_saida
And your exited file will have everything you could recover until the first crash.
To recover what's after the crash, one method is compiling the gzip program with a few more lines of code. For this, I suggest following the recommended link , and it will take time and it will not be easy)
Another solution: Check out the tools available at link