Backedup and Restored Successfully but Workflow is no Longer Associated with List
I just backed up my SharePoint 2007 (MOSS) site using the following command, the site is located in the default port 80. The text below is contained on two seperate PowerShell scripts, one for backup and the other for restore: cd 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN' stsadm -o backup -url http://ServerName -filename E:\Backup\SharePoint\MySite\MySharepointSite.Backup -overwrite Then I used the following command to restore the backup file to the same location: cd 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN' stsadm -o restore -url http://ServerName -filename E:\Backup\SharePoint\MySite\MySharepointSite.Backup -overwrite After executing the restore command I received a message stating that the "Operation Completed Successfully". All appears to be well except for the existing workflow. The workflow is still associated with each item in the list. When I navigate to Site Action/Workflows, the workflow is correctly listed but there are zero associations and zero InProcess. The workflow is also listed as Active within Site Actions/Site Collection Features (within section Site Collection Administration). When I open the list and navigate to Settings/List Settings/Workflow Settings, the workflow is correctly listed but the Workflows in Progress is zero. What do I need to do following a restore to ensure that the existing workflow is preserved and is able to execute on each item where it left off before the restore was executed. I would appreciate feedback on this. Thanks.
October 13th, 2010 12:18am

I did an IISRESET command and this allow re-activation of the existing workflow; now the workflow is working as expected. What is not working is an event which is executed at the end of the workflow. The event is installed and does appear as ACTIVE in the site feature page but the code within the event is not executed. I also deactivated and reactivated the event feature but the results remain unchanged. I would appreciate any feed back. Thanks.
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2010 7:28pm

When I first did the restore I open the site and began modifying the items within one of the lists. This was to determine the state of the restore process. When I noticed issues I did an IISRESET and that resovled the workflow issue but the issue with the custom event noted above remained. With this information in mind I did a second restore. After the second restore process completed I immediately did an IIRESET before opening the site. After completion of the reset I open the site and everything was working as expected including the workflow and the custom event. In reading Microsoft documentation I did not see any instructions to do an IISRESET following a restore. However, from what I can tell, if your site has any custom code (such as workflow or events) it is best to do an IISRESET immediately following a restore (before opening the site). FYI, this was done on Windows Server 2008 64 bit with MOSS 2007.
October 13th, 2010 10:26pm

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

Other recent topics Other recent topics