I had to rebuild our WSS farm recently and create a new configuration database so I needed to restore our web applications. I had taken a backup of the entire farm and decided to restore each web app individually.
When I used the GUI (Central Administration) to do the restore I received the following error:
Error: Object WSS_Intranet (89) (previous name: IntranetDev (80)) failed in event OnRestore. For more information, see the error log located in the backup directory.
SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=WSS_Intranet (89) Parent=SPWebService is being updated by svc_moss_sql, in the OWSTIMER process, on machine **Machine Name**. View the tracing log for more information about the conflict.
Looking in the error logs and event viewer didn’t yield any more information so I did some research on the internet. It turns out to fix it you need to temporarily stop the OWSTimer (WSS Timer) service. Unfortunately if you do this it means you cannot use the GUI to restore as this uses a timer job, so you will need to restore using the STSADM restore command:
e.g. STSADM –o restore –directory “\servernamebackupfolder” –restoremethod new –item “FarmWindows SharePoint Services Web ApplicationIntranet”
In this case ‘item’ is the path in the backup tree to the web application you wish to restore – have a look in the central admin GUI to help find the correct path.
Once you run the command you should see the web application being restored, once it has been restored you can start the OWSTimer service again.
I got this info from Tom Meskens blog, see the original post here – http://ph-tom.blogspot.com/2009/06/owstimer-error-when-restoring.html, thanks Tom!!
Note: Be careful if you are doing this on a live/production server, be sure you know the effects of stopping the OWSTimer service as this will affect any running timer jobs including custom ones.
Hope this helps!