Recover data from corrupt user backup file?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

easysoft
Posts: 30
Joined: Fri Feb 16, 2007 2:30 pm
Location: London
Contact:

Recover data from corrupt user backup file?

Postby easysoft » Fri Jan 07, 2011 10:01 am

Hi All,

We just had a complete server loss due to bad disks, Scalix 11.4.5 on CentOS 5 x86_64.
I have backup user dump files made using omcpoutu, and I am trying to recover the data for the Most Important User (all the users have been restored!).

However, it looks like the gzip file is corrupt :
# gunzip User-mail.gz
gunzip: User-mail.gz: invalid compressed data--format violated


so I used gzrecover (from the gzrt package) to recover what was possible from the file :
# gzrecover -o user.dat User-mail.gz

ls -l
-rwxr-xr-x 1 root root 1441291233 Jan 6 16:06 User-mail.gz
-rw------- 1 root root 2039786663 Jan 6 14:36 user.dat


But when I try to load this data using sxmboximp :
# sxmboximp -u "Important User" -a user.dat --nosync
sxmboximp : [OM.PM 1004] Internal problem detected, see the log files


And omshowlog gives me :
WARNING Administration(sxmboximp ) 01.07.11 13:49:16
[OM 24070] Debug message for Lab use :
tf_ReadRecord bad rec. offset 1575636845. Unexpected size=900018852. LastReadRecord Type=48900 size=4080.
File=muddin.dat.

SERIOUS ERROR Administration(sxmboximp ) 01.07.11 13:49:16
[OM 1001] Transaction File record size is out of bounds
-> tf_GetINT32
<- tf_GetINT32
-> tf_GetINT16
<- tf_GetINT16
-> pm_ProcessBasicData
-> tf_GetINT16
<- tf_GetINT16
-> tf_GetDataPtr
<- tf_GetDataPtr
<- pm_ProcessBasicData
-> tf_ReadRecord
-> tf_GetINT32
<- tf_GetINT32
<- /build/11.4.5/src/lib/tf/tf_ReadRec.c:96[3,1001]
<- /build/11.4.5/src/lib/tf/tf_ReadRec.c:112[3,1001]


Is there any way I can import the valid parts of user.dat and ignore the damaged parts?

Help!

TIA
Regards
Arif

Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests