Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear All
I have tried to get a backup from my Red Hat 7.2 server , as the followings :
#tar -czf conf.tgz conf
Then I got a copy from it on my MS Windows client , through sftp .
At now , when I want to unzip it on my Virtual Box Red Hat 7.2 as guest on Windows XP as host it returns as "incomplete literal tree , format violated" . It cannot even be unzipped on my MS Windows client . But it still can be unzipped on the original RedHat 7.2 server, as the followings :
#tar -zxvf conf.tgz
Can you please do me favor and let me know what is wrong in the above scenario that the backup file is no longer useful ?
Let me thank you in advance
I expect you have not installed gzip on your windows machine. I don't use windows but I would be amazed if by default it comes with a tool that can decompress gziped files.
I expect you have not installed gzip on your windows machine. I don't use windows but I would be amazed if by default it comes with a tool that can decompress gziped files.
Evo2.
Sorry . But the WinRar is installed on my MS Windows client . Can you please let me know why the file cannot be uncompressed ?
Thank you in advance
Ok, check if it has been corrupted. Check the md5sum
Code:
md5sum conf.tgz
Make sure that the output is the same on both the original Red Hat machine and on the virtual machine.
You should also check on the windows machine, but I don't know how to do that.
Evo2.
Thank you for your reply . I checked its checksum on my Linux & Windows machine , as the below and attached :
"C:\Documents and Settings\user>md5sum wxc2.tgz
8b4bc0f33bbca8a820bd920239812ee5 *wxc2.tgz"
Please let me know what is wrong here ?
Thank you in advance
Now compare it with the checksum of the original file on the Red Hat server. If they are not the same, something went wrong in the transfer process (and you have to download it again), if they are the same you have to further investigate in order to discover where the problem resides.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.