error in restoring backups

Cyber-DL

Verified User
Joined
Jun 21, 2008
Messages
48
hello,

i was backed up my users from Admin Backup/Transfer in Admin Level , and now i want restore them , so i think i must restored them from Admin Backup/Transfer , but durring restore i received a ticket ,

look :

Code:
User reseller.admin.abbas.tar.gz has been restored
User user.abbas.afajir.tar.gz has been restored
Unable to extract backup/user.conf from /home/admin/user_backups/user.abbas.jodaee.tar.gz : Error while extracting backup/user.conf to /home/admin/user_backups/jodaee as admin : /bin/tar: Skipping to next header
/bin/tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--format violated
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
i Used CentOS x64 in old server and new server !

and when i extract the .tar.gz backup files i see

Code:
/bin/tar: Skipping to next header
/bin/tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--format violated
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors


this errors means my backup files has been hurted or their incomplete??
 
so i think it's about 32bit and 64bit os !

i used VPS , and this events is on vps ,
my OS is CentOS x64 , but a thing it's appear , my previous vps was : CentOS x64 and backups stored in a CentOS , 32bit via FTP backup , and now i want restore it in CentOS x64 in my new VPS , and i don't have access to my previous vps ,
at last :

account was in a Centos x64 and stored in a CentOS 32bit via FTP backup , and now i transfered backups ( was stored & created in a 32 bit centos ) to my new vps with centos x64 and i want restore them !

:D:D so what's your idea ?
 
Hello,

I would suggest testing the tar.gz files manually, eg:
Code:
cd /home/admin/user_backups
tar tvzf user.abbas.jodaee.tar.gz

As for Jeff's find, you could try
Code:
cd /home/admin/user_backups
mkdir temp
cd temp
gzip -d ../user.abbas.jodaee.tar.gz
tar xvf ../user.abbas.jodaee.tar
tar cvzf ../user.abbas.jodaee.tar.gz *
cd ..
rm -rf temp
John
 
I would suggest testing the tar.gz files manually, eg:

Code:

cd /home/admin/user_backups
tar tvzf user.abbas.jodaee.tar.gz
i do this command and result is :
Code:
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors

and
As for Jeff's find, you could try
Code:

cd /home/admin/user_backups
mkdir temp
cd temp
gzip -d ../user.abbas.jodaee.tar.gz
tar xvf ../user.abbas.jodaee.tar
tar cvzf ../user.abbas.jodaee.tar.gz *
cd ..
rm -rf temp

[root@nvidia temp]# gzip -d /home/admin/user_backups/user.abbas.jodaee.tar.gz

gzip: /home/admin/user_backups/user.abbas.jodaee.tar.gz: invalid compressed data
--format violated
 
Hello,

That means the tar.gz is corrupted. Try copying the backup form the source location again in case it was corrupted in transit. If the source is also corrupted, then the backup would have to be created again. If you don't have access to the source server, or this is your only copy of the backup, there isn't much you can do. At most (if this is all you have) is to manually extract as much of the tar.gz as you can, then recompress it with the files that were there. This would get rid of the tar error, but if there are missing files required by DA, then it still wouldn't work, so you'd be out of luck.

John
 
It is an old thread but we have had the same problem.
For those who may have this issue, we have solved it by transferring the tar.gz files in BINARY mode.
 
It is an old thread but we have had the same problem.
For those who may have this issue, we have solved it by transferring the tar.gz files in BINARY mode.

Could you please inform me how to do that ?
 
Back
Top