Page 1 of 1

Backups don't work

PostPosted: 22. August 2004 23:06
by Repute
when i try to restore the backups after a new install I get the following errors:

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Checking integrity of files...
egrep: md5sums: No such file or directory
Restoring configuration, log and htdocs files...
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Checking versions...
cat: VERSION: No such file or directory
Installed: XAMPP 1.4.5
Backup from: XAMPP
The backup sofware is not able to handle different XAMPP versions.
Your backuped configuration from may not work with 1.4.5 and may need manually corrections.
XAMPP: Do you want to continue [no] y
Let's try...
Restoring MySQL databases... line 129: *.sql: No such file or directory
* FAILED: cat: output: No such file or directory
Restoring MySQL user databases... line 138: mysql.sql: No such file or directory
MySQL user FAILED: cat: output: No such file or directory

What is the problem please help coase I desperetly need to get this working otherwise I have a big problem :S



PostPosted: 23. August 2004 12:13
by Repute
Please help me!

PostPosted: 23. August 2004 14:10
by Oswald
Dear Repute!

Your backup file seems to be corrupt: tar: Unexpected EOF in archive.

How big is your backup file? Is it big as it should be big (according to the backuped data)?


PostPosted: 23. August 2004 15:23
by Repute
Jep it's 380 mb big, and I 1st backed it up on my Windows Xp machine.

PostPosted: 23. August 2004 16:15
by MinJun
I'm not really firm in handling with tar archives but I found a workaround for repairing damaged tar archives: ... hives.html

Maybe this could help you to rescue most of your data.

Good Luck :wink:

PostPosted: 23. August 2004 17:52
by Oswald
Dear Repute!

380 MBs? That's much. Do you've enough disk space free to extract the backup?

What is the output of the following command:

head -150 | tail -1

And the output of this command:

tail +151 | tar tvfz -

(Please make sure to call the commands from the same directory where your backup files is stored)


PostPosted: 23. August 2004 18:28
by Repute
Thnx for trieng to help me out!

I have enough room I have 50 gig free right now...

These are the results:

[root@repute backup]# head -150 | tail -1

[root@repute backup]# tail +151 | tar tvfz -
-rw-r--r-- root/root 339349164 2004-08-22 13:01:05 data.tar.gz

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

By the way thanx for the link MinJun but that didn't work out :S

PostPosted: 23. August 2004 23:01
by Oswald
Dear Repute!

Looks like my first assumption was right: the tar archive of the backup is corrupt. :( Can you copy the file from the Windows machine again to your Linux system? May be something got wrong while copying.

If that doesn't help you may try the hint from MinJun: First you need to extract the tar archive from the XAMPP backup file with the following command:

tail +151 > tar-from-backup.tar.gz

Now follow the instructions from the link MinJun posted.

Good luck!!

PostPosted: 24. August 2004 11:44
by Repute
Nope dos'nt work thnx for all your help!
Going to install from scratch now :cry: