SharePoint FarmBackup fails InvalidOperationException: Failed to set request to pause search application

Hello all,

I am trying to generate a farm backup from our SharePoint environment and have tried the following (main code) : 

Add-PSSnapIn "Microsoft.SharePoint.PowerShell"
Set-ExecutionPolicy -ExecutionPolicy "Unrestricted" -Force

Backup-SPFarm -directory $farmBackupPath -backupmethod Full

In the log file, I see this error :

FatalError: Object Search Service Application failed in event OnBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
InvalidOperationException: Failed to set request to pause search application

I have done some google search and found this:

https://social.technet.microsoft.com/Forums/en-US/f2900462-62df-4ad3-b5d1-5ac9614e3eab/fatal-error-when-trying-to-backup-sharepoint-server-failed-to-set-request-to-pause-search?forum=sharepointadmin

But this did not help resolve the issue. 

Has anyone encountered this problem and found a different solution ?

Thank you all,

Mya

September 1st, 2015 8:41am

Hi Mya,

As I understand, you encountered the error when doing farm backup in SharePoint 2013.

You could provide read/write permission to search service account on backup directory.

You also could do a full crawl in the search service application, then do the backup to check if it can work.

And you could check if you have do the back correctly according to the article below.

You also could run the backup by other methods.

The article below is about Back up farms in SharePoint 2013.

https://technet.microsoft.com/en-us/library/ee428316(v=office.15).aspx

More references:

The article below is about SharePoint 2013: FatalError: Object Search Service failed in event OnBackup.

http://alstechtips.blogspot.com/2014/05/sharepoint-2013-fatalerror-object.html

The article below is about SharePoint 2010 or 2013 backup failed on Search Service Application.

http://support.unitrends.com/ikm/questions.php?questionid=1315

The article below is about SharePoint 2013 Farm Backup Error : Object Search Service Application failed in event OnBackup. Could not send chunk to target BackupDirectoryTarget.

http://amolmeshe.blogspot.com/2013/06/sharepoint-2013-farm-back-error-object.html

The article below is about Object search service application failed in event on backup.

http://exchangelabs.co.in/home/object-search-service-application-failed-in-event-on-backup/

Best regards,

Sara Fan

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 2:07am

Hi,

Pause the Search service application.

Run the Back up Script.

Resume the Search service application.

Reference : SharePoint 2013 - Farm backup fails on Search Index - Help

Back up Search service applications in SharePoint 2013

Hope this helps :)

September 2nd, 2015 2:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics