Restoration Issues

Due to an issue we have had to reinstall Centos 4.xx and Interworx. We backed up all files prior to install and have tried to restore these files only to find the following message:

? Archive file : /home/tmp/domain.com_jan.03.2007-20.38.20.tar.gz
? Working directory : /home/tmp/siteworximportcpNN2U
? Archive extracted successfully
? Could not extract data archive. Wrong backup type? : /home/tmp/siteworximportcpNN2U/domain.com_jan.03.2007-20.38.20.data.tar.gz

As per the instructions on this site we changes the directory to home/tmp/ and tried again without luck.

We have used hte exact same setup as previous and still this issue.

Any help greatly appreciated as we have to restore 60 plus websites ASAP

Thank You:mad:

How did you get the file to the server? If you uploaded it via httpd (through your browser) try uploading/transfering it via scp or (s)FTP. It’s possible it was corrupted.

Then try manually decompressing the file

tar -zxf /home/tmp/domain.com_jan.03.2007-20.38.20.tar.gz

and see what happens. Hopefully the original backup file isn’t corrupted

You may also want to check the error log in the interworx directory.

File was uploaded through restore process from local directory.

How big is the archive and how much space do you have available on /tmp and /home/tmp? Also, did you try Tim’s suggestion of manually untarring the archive to see if there were any errors?

Socheat

Have taken all Tims advice and have done what he suggested.

Have plenty of space on both tmp amd home/tmp directories and this was the first change we made.

Any files both big and small return the same problem message. Smallest about 3.0MB to 100MB.

? Archive file : /home/tmp/domain.com_jan.03.2007-20.38.20.tar.gz
? Working directory : /home/tmp/siteworximportcpNN2U
? Archive extracted successfully
? Could not extract data archive. Wrong backup type? : /home/tmp/siteworximportcpNN2U/domain.com_jan.03.2007-20.38.20.data.tar.gz

Just checked a few more sites and now getting the following messages:

[SIZE=3]gzip: stdin: unexpected end of file[/SIZE]
[SIZE=3]tar: Unexpected EOF in archive[/SIZE]
[SIZE=3]tar: Unexpected EOF in archive[/SIZE]
[SIZE=3]tar: Error is not recoverable: exiting now[/SIZE]

Corrupt. Great approximately 45 websties with corrupt backups.

ANY IDEAS ANYONE!

HELP!

Corrupt backups happen when the tar process is aborted for some reason. Depending on where the archives are corrupt (each will be different), you may be able to get some of the data back. Please open a ticket with your root login information, path to the backup files, and we’ll show you how you can try to salvage the backups.

Socheat