Question

SharePoint export of site Issue

  • 12 July 2021
  • 4 replies
  • 66 views

Userlevel 2
Badge +4

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 [http://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.

 

 

@emp - CVSPBackup.log

//////

26840 5628  07/06 19:01:48 329332 [SendDirChange::wait]: ALL systems GO from CreateIndex

26840 5628  07/06 19:01:48 329332 [::sendDirChange]: createindex will process dirchange [C:\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 [SendDirChange::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 'AT-SIMPANA-MA1.xyz.pl*at-simpana-ma1*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 - [1] m_skippedbackups - [1] m_preBackupPhaseSuccess - [1]

26840 5628  07/06 19:01:50 329332 CVSPMultiStreamBackup::Run() - Backup Complete

26840 5628  07/06 19:01:50 329332 CVSPLibNamespace::CVSPJobClient::SaveFailureCount() - Saving [0] File and [0] 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 [C:\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 [PIPELAYER  ] 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 [PIPELAYER  ] 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 [0000000002153E40] Shutdown completed.

23808 2764  07/06 19:01:56 329333 SdtBase::relRef: Going to delete SdtBase as ref count is down to 0. RCId [410662]

23808 2764  07/06 19:01:56 329333 SdtBase::() - SdtBase is being destroyed...

23808 2764  07/06 19:01:56 329333 Name [Head], Start Delay [39.17 Secs], Avg [3.560825 Sec/Sample], Procsng Time [0.00 Secs], Avg [0.000000 Sec/Sample], Bytes [59954], Speed [0.00 MB/Sec], Samples [11] RCId [410662]

23808 2764  07/06 19:01:56 329333 Name [Head CRC32], Start Delay [0.00 Secs], Avg [0.000000 Sec/Sample], Procsng Time [0.16 Secs], Avg [0.014203 Sec/Sample], Bytes [59954], Speed [0.37 MB/Sec], Samples [11] RCId [410662]

23808 2764  07/06 19:01:56 329333 Name [Head Network], Start Delay [0.00 Secs], Avg [0.000000 Sec/Sample], Procsng Time [0.56 Secs], Avg [0.051131 Sec/Sample], Bytes [59954], Speed [0.10 MB/Sec], Samples [11] RCId [410662]

23808 2764  07/06 19:01:56 329333 Performing graceful connection termination RCId [410662]

23808 2764  07/06 19:01:56 329333 Closing all sockets. RCId [410662]

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 [0]

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 [C:\Program Files\CommVault\Simpana\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Sharepoint Doc Agent\2\363\DCInc.cvf] to MediaAgent [AT-SIMPANA-MA1.xyz.pl*at-simpana-ma1*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 = [2], Subclient Id/App Id = [363], Backup type = [2], Start time = [1625590917], Job token = [329333:14:1:0:32808], Snap job id = [0], Client network host name = [epm], Gui override = [1], Pruning time = [0], Options = [69]

23808 5934  07/06 19:01:57 329333 SENDDIRCHANGE heartbeat timeout is set to 1800 sec 

23808 5934  07/06 19:01:57 329333 [SendDirChange::wait]: ALL systems GO from CreateIndex

23808 5934  07/06 19:01:57 329333 [::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 [SendDirChange::wait]: Index Creation completed Successfully

23808 5934  07/06 19:01:58 329333 [::sendDirChange]: Index Creation completed Successfully

23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPIndexClient::SendIndex() - Sent dirChange to MediaAgent 'AT-SIMPANA-MA1.xyz.pl*at-simpana-ma1*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 - [1] m_preBackupPhaseSuccess - [1]

23808 5934  07/06 19:01:58 329333 CVSPMultiStreamBackup::Run() - Backup Complete

23808 5934  07/06 19:01:58 329333 CVSPLibNamespace::CVSPJobClient::SaveFailureCount() - Saving [0] File and [0] 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 [329333:14:1:0:32808]

23808 2c98  07/06 19:01:59 329333 CVJobCtrlLog::unregisterProcess(): successfully removed file [C:\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 [\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 [PIPELAYER  ] 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 [PIPELAYER  ] 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 [PIPELAYER  ] 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 [00000000024DEC70] [duration - 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 [410661]

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 [0.00 Secs], Avg [0.000000 Sec/Sample], Bytes [59954], Speed [0.00 MB/Sec], Samples [11] RCId [410661]

9808  5970  07/06 19:03:26 329334 Name [Head CRC32], Start Delay [0.00 Secs], Avg [0.000000 Sec/Sample], Procsng Time [0.62 Secs], Avg [0.056813 Sec/Sample], Bytes [59954], Speed [0.09 MB/Sec], Samples [11] RCId [410661]

9808  5970  07/06 19:03:26 329334 Name [Head Network], Start Delay [0.00 Secs], Avg [0.000000 Sec/Sample], Procsng Time [0.41 Secs], Avg [0.036928 Sec/Sample], Bytes [59954], Speed [0.14 MB/Sec], Samples [11] RCId [410661]

9808  5970  07/06 19:03:26 329334 Performing graceful connection termination RCId [410661]

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 [0]

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

 


4 replies

Userlevel 1
Badge +1

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.

 

Userlevel 2
Badge +4

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

Userlevel 2
Badge +4

Hello Community! 

 

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

 

Failure Reason:

  • ERROR CODE [27:275]: Failed during SharePoint export of site [http://xyz.xyz.pl]. Error from SharePoint: [The 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

Badge +2

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

Reply