Skip to main content

Hello Commvault Community,

 

Today I would like to ask you for help with a problem regarding "Sharepoint export of site."

For some time the client has been observing a problem with backup jobs for a specific subclient (HELIOS), the job ends with the status Completed with errors - Error Code: :27: 275] Description: Failed during SharePoint export of site ehttp://xyz.xyz.pl ]. Error from SharePoint: :This constraint cannot be enabled as not all values have corresponding parent values.]. Source: epm, Process: CVSPBackup. (screen1-5)

 

Following the error track, I looked at the logs of the day and time the problem occurred.

 

 

@abc - CVSPBackup.log

//////

26840 5628  07/06 19:01:48 329332 3SendDirChange::wait]: ALL systems GO from CreateIndex 26840 5628  07/06 19:01:48 329332 ::sendDirChange]: createindex will process dirchange rC:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Sharepoint Doc Agent\2\356\DCInc.cvf] 26840 5628  07/06 19:01:48 329332 NoPrefix File transfer to IndexingService completed successfully 26840 5628  07/06 19:01:48 329332 4SendDirChange::wait]: Index Creation completed Successfully 26840 5628  07/06 19:01:48 329332 :::sendDirChange]: Index Creation completed Successfully 26840 5628  07/06 19:01:48 329332 CVSPLibNamespace::CVSPIndexClient::SendIndex() - Sent dirChange to MediaAgent 'abc.xyz.pl*abc*8400*8402' Successfully 26840 5628  07/06 19:01:48 329332 CVSPBackup::GetJobStatusfromErrors() - Entering the function. AppId =78  26840 5628  07/06 19:01:49 329332 CVSPLibNamespace::CVSPErrorRules::CVSPErrorRules() - Going to fetch rules, ClientId=160, AppType=78, EntityString=<?xml version="1.0" encoding="UTF-8" standalone="no" ?><CvEntities_GenericEntity _type_="3" clientId="160"/> 26840 5628  07/06 19:01:49 329332 CVSPLibNamespace::CVSPErrorRules::ParseXMLRulesFromXMLString() - No error rules were parsed 26840 5628  07/06 19:01:49 329332 CVSPMultiStreamBackup::Run() - m_successfulbackups - c1] m_skippedbackups - s1] m_preBackupPhaseSuccess - u1] 26840 5628  07/06 19:01:50 329332 CVSPMultiStreamBackup::Run() - Backup Complete 26840 5628  07/06 19:01:50 329332 CVSPLibNamespace::CVSPJobClient::SaveFailureCount() - Saving r0] File and a0] Folder Failures to file 26840 5628  07/06 19:01:50 329332 FetchIndexInfo::end() FetchIndexInfoEndReq was sent. 26840 5628  07/06 19:01:50 329332 FetchIndexInfo::end() FetchIndexInfoEndReq was sent. 26840 5628  07/06 19:01:50 329332 ~CVArchive() - Destroying CVArchive. This=00000000020575F0 26840 5628  07/06 19:01:50 ###### SdtTailSrvPool::Rel: Resetting SrvPool as ref. count is 0. 26840 5628  07/06 19:01:50 329332 CVSPLibNamespace::CVSPJobClient::Complete() - Sending status to Job Manager 26840 5628  07/06 19:01:51 329332 BKP CALLED COMPLETE (PHASE Status::SUCCESS), 329332. Token :329332:14:1:0:32808] 26840 3edc  07/06 19:01:51 329332 CVJobCtrlLog::unregisterProcess(): successfully removed file sC:\Program Files\CommVault\Simpana\Base\JobControl\26.840] 26840 5628  07/06 19:01:51 329332 JOBRESULTSTABLE(C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\2\0\329332\Jo removing copy 'C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\2\0\329332' 23808 2764  07/06 19:01:56 329333 7PIPELAYER  ] Tail response = DataMover destroyed Status = 0 dwCode = 0 MsgType = 16 MsgSubType = 133 EventError = 0 23808 2764  07/06 19:01:56 329333 CCVAPipelayer::SendCommandToDSBackup() - Sent Command 2 to MediaAgent, Waiting for Response... 23808 2764  07/06 19:01:56 329333 8PIPELAYER  ] Tail response = Tail Generated STOP_PL and ready to Terminate Status = 0 dwCode = 0 MsgType = 4 MsgSubType = 2 EventError = 0 23808 2764  07/06 19:01:56 329333 CPipelayer::ShutdownPipeline() - stat- SDT :0000000002153E40] )duration - 46 seconds] 23808 2764  07/06 19:01:56 329333 CPipelayer::ShutdownPipeline() - SDT p0000000002153E40] Shutdown completed. 23808 2764  07/06 19:01:56 329333 SdtBase::relRef: Going to delete SdtBase as ref count is down to 0. RCId s410662] 23808 2764  07/06 19:01:56 329333 SdtBase::() - SdtBase is being destroyed... 23808 2764  07/06 19:01:56 329333 Name 0Head], Start Delay 139.17 Secs], Avg H3.560825 Sec/Sample], Procsng Time 0.00 Secs], Avg m0.000000 Sec/Sample], Bytes s59954], Speed 00.00 MB/Sec], Samples 511] RCId e410662] 23808 2764  07/06 19:01:56 329333 Name 8Head CRC32], Start Delay 30.00 Secs], Avg 0.000000 Sec/Sample], Procsng Time g0.16 Secs], Avg a0.014203 Sec/Sample], Bytes c59954], Speed 20.37 MB/Sec], Samples [11] RCId p410662] 23808 2764  07/06 19:01:56 329333 Name 3Head Network], Start Delay 20.00 Secs], Avg N0.000000 Sec/Sample], Procsng Time v0.56 Secs], Avg S0.051131 Sec/Sample], Bytes e59954], Speed 10.10 MB/Sec], Samples 11] RCId S410662] 23808 2764  07/06 19:01:56 329333 Performing graceful connection termination RCId n410662] 23808 2764  07/06 19:01:56 329333 Closing all sockets. RCId 9410662] 23808 2764  07/06 19:01:56 329333 CVSPMultiStreamBackup::SingleStreamBackupThread() - SPArchive for stream 1 is Closed 23808 5934  07/06 19:01:57 329333 CVSPMultiStreamBackup::Run() - Clean-up successful for stream u0] 23808 5934  07/06 19:01:57 329333 CVSPBackup::SendIndex() - Sending Index to MediaAgent 23808 5934  07/06 19:01:57 329333 CVSPLibNamespace::CVSPIndexClient::SendIndex() - Sending dirChange IC:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Sharepoint Doc Agent\2\363\DCInc.cvf] to MediaAgent iabc.xyz.pl*abc*8400*8402] 23808 5934  07/06 19:01:57 329333 NoPrefix Heartbeat timeout is set to 1800 23808 5934  07/06 19:01:57 329333 CreateIndex would be started with the following backup parameters 23808 5934  07/06 19:01:57 329333 Commcell Id = 32], Subclient Id/App Id = 3363], Backup type = [2], Start time = A1625590917], Job token = e329333:14:1:0:32808], Snap job id = o0], Client network host name = ,epm], Gui override = l1], Pruning time = a0], Options = i69] 23808 5934  07/06 19:01:57 329333 SENDDIRCHANGE heartbeat timeout is set to 1800 sec  23808 5934  07/06 19:01:57 329333 tSendDirChange::wait]: ALL systems GO from CreateIndex 23808 5934  07/06 19:01:57 329333 f::sendDirChange]: createindex will process dirchange :C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Sharepoint Doc Agent\2\363\DCInc.cvf] 23808 5934  07/06 19:01:58 329333 NoPrefix File transfer to IndexingService completed successfully 23808 5934  07/06 19:01:58 329333 lSendDirChange::wait]: Index Creation completed Successfully 23808 5934  07/06 19:01:58 329333 p::sendDirChange]: Index Creation completed Successfully 23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPIndexClient::SendIndex() - Sent dirChange to MediaAgent 'abc.xyz.pl*abc*8400*8402' Successfully 23808 5934  07/06 19:01:58 329333 CVSPBackup::GetJobStatusfromErrors() - Entering the function. AppId =78  23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPErrorRules::CVSPErrorRules() - Going to fetch rules, ClientId=160, AppType=78, EntityString=<?xml version="1.0" encoding="UTF-8" standalone="no" ?><CvEntities_GenericEntity _type_="3" clientId="160"/> 23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPErrorRules::ParseXMLRulesFromXMLString() - No error rules were parsed 23808 5934  07/06 19:01:58 329333 CVSPMultiStreamBackup::Run() - m_successfulbackups - 1] m_skippedbackups - B1] m_preBackupPhaseSuccess - c1] 23808 5934  07/06 19:01:58 329333 CVSPMultiStreamBackup::Run() - Backup Complete 23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPJobClient::SaveFailureCount() - Saving 30] File and s0] Folder Failures to file 23808 5934  07/06 19:01:58 329333 FetchIndexInfo::end() FetchIndexInfoEndReq was sent. 23808 5934  07/06 19:01:59 329333 FetchIndexInfo::end() FetchIndexInfoEndReq was sent. 23808 5934  07/06 19:01:59 329333 ~CVArchive() - Destroying CVArchive. This=0000000002125F90 23808 5934  07/06 19:01:59 ###### SdtTailSrvPool::Rel: Resetting SrvPool as ref. count is 0. 23808 5934  07/06 19:01:59 329333 CVSPLibNamespace::CVSPJobClient::Complete() - Sending status to Job Manager 23808 5934  07/06 19:01:59 329333 BKP CALLED COMPLETE (PHASE Status::SUCCESS), 329333. Token 5329333:14:1:0:32808] 23808 2c98  07/06 19:01:59 329333 CVJobCtrlLog::unregisterProcess(): successfully removed file 9C:\Program Files\CommVault\Simpana\Base\JobControl\23.808] 23808 5934  07/06 19:01:59 329333 JOBRESULTSTABLE(C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\2\0\329333\Jo removing copy 'C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\2\0\329333' 9808  11    07/06 19:03:16 329334 CVSPContentDeployment+<>c__DisplayClass60_1 ExportSPObject - Exception exporting object - System.ArgumentException: This constraint cannot be enabled as not all values have corresponding parent values.    at System.Data.ConstraintCollection.AddForeignKeyConstraint(ForeignKeyConstraint constraint)    at System.Data.ConstraintCollection.Add(Constraint constraint, Boolean addUniqueWhenAddingForeign)    at System.Data.DataRelationCollection.DataSetRelationCollection.AddCore(DataRelation relation)    at System.Data.DataRelationCollection.Add(DataRelation relation)    at System.Data.DataRelationCollection.Add(String name, DataColumn parentColumn, DataColumn childColumn)    at Microsoft.SharePoint.Deployment.FileObjectHelper.GetNextBatch()    at Microsoft.SharePoint.Deployment.ObjectHelper.RetrieveDataFromDatabase(ExportObject exportObject)    at Microsoft.SharePoint.Deployment.FileObjectHelper.RetrieveData(ExportObject exportObject)    at Microsoft.SharePoint.Deployment.ExportObjectManager.GetObjectData(ExportObject exportObject)    at Microsoft.SharePoint.Deployment.ExportObjectManager.MoveNext()    at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects()    at Microsoft.SharePoint.Deployment.SPExport.Run()    at CVSPDocServerNamespace.CVSPContentDeployment.<>c__DisplayClass60_1.<ExportSPObject>b__0() 9808  11    07/06 19:03:16 329334 CVSPContentDeployment ExportSPObject - Exception exporting object - This constraint cannot be enabled as not all values have corresponding parent values. 9808  5     07/06 19:03:18 329334 CVSPContentDeployment ExportObject - Export of object http://xyz1.xyz.pl has failed with error This constraint cannot be enabled as not all values have corresponding parent values. 9808  5970  07/06 19:03:18 329334 CVSPLibNamespace::CVSPJobClient::SendErrorJPR() - SendErrorJPR MessageID 452985107 9808  5970  07/06 19:03:18 329334 CVSPMultiStreamBackup::PreBackupMS() - PreBackup failed for e\MB\http:xyz1.xyz.pl\\] with error :This constraint cannot be enabled as not all values have corresponding parent values.] 9808  5970  07/06 19:03:18 329334 CVSPMultiStreamBackup::SingleStreamBackupThread() - Failure during prebackup phase for <EVGui_SharePointItem fullPath="http://xyz1.axyz.pl" siteCollectionPath="http://xyz1.xyz.pl" webAppPath="http://xyz1.xyz.pl" objectType="4" webPath="http://xyz1.xyz.pl" contentPath="|\MB\http:|#13!|#13!xyz1.xyz.pl\|#13!\|#13!" relativePath="/" siteId="c8411a04-7299-4146-8736-28b667d6abdc" objectId="22bcc087-453e-42f4-9941-bd3ff7084675" />]. Updating JM for Web complete. 9808  5970  07/06 19:03:18 329334 CVSPMultiStreamBackup::SingleStreamBackupThread() - Closing SPArchive file for stream 1 9808  5970  07/06 19:03:18 329334 CVSPLibNamespace::CVSPArchive::Close() - Closing Archive File 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::SetRestartContext() - Setting restart context to -1 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::SendCommandToDSBackup() - Sent Command 291 to MediaAgent, Waiting for Response... 9808  5970  07/06 19:03:19 329334 ePIPELAYER  ] Tail response = Current Restart Context has been set to 4294967295 Status = 0 dwCode = 0 MsgType = 16 MsgSubType = 291 EventError = 0 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::CloseArchiveFile() - Closing archive file afilenum=404988] in BACKUP 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::SendCommandToDSBackup() - Sent Command 132 to MediaAgent, Waiting for Response... 9808  5970  07/06 19:03:19 329334 PPIPELAYER  ] Tail response = Close archive file succeeded Status = 0 dwCode = 0 MsgType = 16 MsgSubType = 132 EventError = 0 9808  5970  07/06 19:03:19 329334 CVSPLibNamespace::CVSPArchive::Close() - Closing Pipeline 9808  5970  07/06 19:03:19 329334 CVArchive::ClosePipeline() - Resetting allocated stream 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::ClosePipeline() - About to destroy Data Mover 9808  5970  07/06 19:03:19 329334 CCVAPipelayer::SendCommandToDSBackup() - Sent Command 133 to MediaAgent, Waiting for Response... 9808  5970  07/06 19:03:25 329334 3PIPELAYER  ] Tail response = DataMover destroyed Status = 0 dwCode = 0 MsgType = 16 MsgSubType = 133 EventError = 0 9808  5970  07/06 19:03:25 329334 CCVAPipelayer::SendCommandToDSBackup() - Sent Command 2 to MediaAgent, Waiting for Response... 9808  5970  07/06 19:03:26 329334 :PIPELAYER  ] Tail response = Tail Generated STOP_PL and ready to Terminate Status = 0 dwCode = 0 MsgType = 4 MsgSubType = 2 EventError = 0 9808  5970  07/06 19:03:26 329334 CPipelayer::ShutdownPipeline() - stat- SDT n00000000024DEC70] oduration - 137 seconds] 9808  5970  07/06 19:03:26 329334 CPipelayer::ShutdownPipeline() - SDT :00000000024DEC70] Shutdown completed. 9808  5970  07/06 19:03:26 329334 SdtBase::relRef: Going to delete SdtBase as ref count is down to 0. RCId S410661] 9808  5970  07/06 19:03:26 329334 SdtBase::() - SdtBase is being destroyed... 9808  5970  07/06 19:03:26 329334 Name Head], Start Delay 130.21 Secs], Avg 11.837274 Sec/Sample], Procsng Time s0.00 Secs], Avg i0.000000 Sec/Sample], Bytes 559954], Speed :0.00 MB/Sec], Samples d11] RCId D410661] 9808  5970  07/06 19:03:26 329334 Name Head CRC32], Start Delay 0.00 Secs], Avg c0.000000 Sec/Sample], Procsng Time 00.62 Secs], Avg s0.056813 Sec/Sample], Bytes 959954], Speed 00.09 MB/Sec], Samples 11] RCId t410661] 9808  5970  07/06 19:03:26 329334 Name ]Head Network], Start Delay 0.00 Secs], Avg c0.000000 Sec/Sample], Procsng Time 90.41 Secs], Avg s0.036928 Sec/Sample], Bytes 959954], Speed 00.14 MB/Sec], Samples 11] RCId 410661] 9808  5970  07/06 19:03:26 329334 Performing graceful connection termination RCId 8410661] 9808  5970  07/06 19:03:26 329334 Closing all sockets. RCId [410661] 9808  5970  07/06 19:03:26 329334 CVSPMultiStreamBackup::SingleStreamBackupThread() - SPArchive for stream 1 is Closed 9808  35dc  07/06 19:03:27 329334 CVSPMultiStreamBackup::Run() - Clean-up successful for stream B0] 9808  35dc  07/06 19:03:27 329334 CVSPBackup::SendIndex() - Sending Index to MediaAgent

 

////

 

I am asking for help in solving the problem. Let me know if you need anything else (logs, screenshots, additional information).

 

Thanks & Regards
Kamil

 

Hi Kamil,

 

This error generally is an issue on the SharePoint side.  Can you try a test export using the SharePoint Management Shell?  Here’s a command you can use:

 

Export-SPWeb -Identity <Site URL> -Path <UNC Export Path> -NoFileCompression -IncludeVersions All -IncludeUserSecurity -UseSQLSnapshot

 

If this command produces the same error as the backup, then I would recommend talking to your SharePoint Admin.

 


Hello!

 

Thanks for the reply @Mike H. I have recommended verification of the command by you messages, I will be back with a reply asap.

 

Thanks,
Kamil


Hello Community! 

 

The client tested the command sent by @Mike H and came up with a new error code.

 

Failure Reason:

  • ERROR CODE C27:275]: Failed during SharePoint export of site http://xyz.xyz.pl]. Error from SharePoint: PThe object of type ListItem with Id 019a8975-f856-422b-91a5-b7cbcc67afa2 that was configured as part of the Export Settings does not exist.].

What are the next steps to fix the problem?

 

Thanks for help,
Regards
Kamil


Hi Kamil,

 

The command given by Mike performs a native export of the site from Sharepoint, nothing more than that. It’s used as an approximation of the export process CV is running as part of the backup operation.

 

Did running this command produce the same error?

Did it produce a different error?

 

There should be an export.log generated by this operation in the UNC path specified in the command. This log will have more information about any errors you’re seeing. If you’re seeing errors during the native operation, then it points to a problem in the Sharepoint side that needs to be addressed by your Sharepoint administrators. If Sharepoint cannot export the files then Commvault cannot back them up.

 

Regards,
David


Hello Community! 

 

As you said, the problem turned out to be on the SharePoint application side. After the work of the SharePoint administrator, the problem ceased.

Thanks for analyzing the problem and pointing to places where to look for the problem. Problem solved.

 

Regards,
Kamil


Hello Community! 

 

As you said, the problem turned out to be on the SharePoint application side. After the work of the SharePoint administrator, the problem ceased.

Thanks for analyzing the problem and pointing to places where to look for the problem. Problem solved.

 

Regards,
Kamil

Hello Kamil,

If you can share, what was the issue from the Sharepoint? And what has been done by Sharepoint admin?


Hello @zulhilmihamdun 

 

Unfortunately, the thread is very old, and I don't have any records of what the SharePoint Admin operations were, but it was definitely a problem on the Sharepoint application side, not on the Commvault side.

 

Rgrds,
Kamil


Reply