I have tarball problems.. .tar.gz throws out error: ! Unexpected end of archive When extracted locally on the computer. It throws out the error: gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now When extracting it on linux server via the commands tar -zxvf and tar xvfz Now who here knows about resolving this issue ?
Are you extracting from a tape archive, or from a file? If from a file, was the file created locally, or transferred via FTP? If from a tape, it sounds like the tape is bad.
Define tape? It is from the backup server of my accounts. All transfered in a binary mode. All automated by CPanel/WHM. Auto compressed and uploaded from server to server via timed backup's. Anyway to repair it if it is corrupted? - I just need the databases out of the files instead of the whole archive. That is the most top priority.
if your database is in another directory try this try this tar -zxvf mytar.ball.tar.gz mysqlfoldername
The file is probably not complete. If it's a large backup (like over 500megs) CPanel is known for not going a good jobs on those. One of the reasons why we moved to Direct Admin and do our backups from the command line. Download the file locally and try using winrar to open it. You may be able to pick and choose specific files out of it. May have to run winrar's own repair on it. You may be SOL though. edit: Try Bohra's solution first though.
gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now That is what i get. I did download it locally. I cannot run winrar repair because it is a .tar.gz and winrar is not the software to repair that. It only repairs .tar or .zip Any software that might repair that? Having it downloaded locally give me the error of "Unexpected end of archieve"
I have access to both the backup server and my own server. I was suppose to get a backup put up onto my server and the errors started to jump out. The .tar.gz file is ~90MB in size.
the server u are taking backup from has ssh enabled ?? if yea create a tar backup from there and then wget it to the other server
The backup server has only the "compressed" data of all the accounts I have on my server. It is no point having anything over the server except a space to dump them in. I can put anything I want on the backup server, I can take anything I want from the backup server. What is the point of creating a new tar for an existing tar ? I have two backup's. Both monthly and weekly. Both seem to act the same way.
What exactly are u trying to do from i understand u are trying to extract a mysql db but are getting erros correct ??
I have a automated backup made on the backup server. Suppose the name of the backup is abc.tar.gz, I cannot extract the data out of it due to the errors. I can actually, but just a part of it and not fully. The MySQL databases are stored in /mysql directory within abc.tar.gz which while extracting gives out errors as above. The main importance is to get that directory extracted. Other files are of least importance.