Asked by:
Backup Failures Exception: System.IO.InvalidDataException: Central Directory corrupt. System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.

Question
-
Has anyone encountered this error? Application logs are not very helpful.
Skype for Business Server 2015, Backup Service central management backup module failed to complete import operation.
Configurations:
Backup Module Identity:CentralMgmt.CMSMaster
Working Directory path:\\sahubfs01.exterran.pvt\SFBshare\2-BackupService-15\BackupStore\Temp
Local File Store Unc path:\\sahubfs01.exterran.pvt\SFBshare\2-BackupService-15\BackupStore
Remote File Store Unc path:\\ushubfs07.exterran.pvt\SFBShare\1-BackupService-15\BackupStore
Additional Message:
Exception: System.IO.InvalidDataException: Central Directory corrupt. ---> System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
--- End of inner exception stack trace ---
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at Microsoft.Rtc.Common.Zip.Unzipper.Open()
at Microsoft.Rtc.BackupService.BackupDataZipFileProcessor.UnzipLocalData(CookieContainer& oldCookie, CookieContainer& newCookie)
at Microsoft.Rtc.BackupService.BackupModuleHandler.ReceiveBackupDataTask.ApplyChanges(Boolean& forceSetErrorState)
at Microsoft.Rtc.BackupService.BackupModuleHandler.ReceiveBackupDataTask.InternalExecute()
at Microsoft.Rtc.Common.TaskManager`1.ExecuteTask(Object state)
Cause: Either network or permission issues. Please look through the exception details for more information.
-------------
Results of Get-CsBackupServiceStatus
Get-CsBackupServiceStatus -PoolFqdn sfbpool-sa.exterran.com | fl *
ActiveMachineFqdn : sahubsfb03.exterran.pvt
OverallExportStatus : FinalState
OverallImportStatus : ErrorState
BackupModules : {UserServices.PresenceFocus:[FinalState,NormalState],
ConfServices.DataConf:[FinalState,NormalState],
CentralMgmt.CMSMaster:[NotInitialized,ErrorState]}
Wednesday, April 11, 2018 1:38 PM
All replies
-
Hi BrodyKilpatrick ,
To this issue, please do the following steps to check if the issue persist:
1.Stop the backup service on both front-end server
2.Delete the backup folder on each server
3.Invoke a full backup
You could refer to the following link (this link also apply to SFB server 2015):
https://msucmenow.wordpress.com/2013/05/14/troubleshooting-lync-2013-pool-pairing-the-backup-service/comment-page-1/Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards,
Alice Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Proposed as answer by Alice-Wang Thursday, April 12, 2018 8:29 AM
Thursday, April 12, 2018 2:13 AM -
Are there any update about this issue?
Best Regards,
Alice Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Proposed as answer by Alice-Wang Tuesday, April 17, 2018 10:33 AM
Monday, April 16, 2018 9:40 AM -
If the reply is helpful to you, please mark it an answer, it will help others who has similar issue
Best Regards,
Alice Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Proposed as answer by Alice-Wang Wednesday, April 25, 2018 9:03 AM
Friday, April 20, 2018 9:56 AM