Workflow Migration Guide

Source Site: http://vwis116k:4007/formex

Target Site: http://wsql8spf10k/forms

  1. Go to the source site and create a folder in the C: drive (for example, BackupData). This folder will contain all backup files.
  2. Open Notepad and copy the following text:

    <?xml version="1.0" encoding="utf-16"?>

    <MapPack xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <SiteToSites>

    <anyType xsi:type="SiteToSite">

    <OriginalSite>/formex</OriginalSite> //Specify the relative path of the source site.

    <NewSite>/forms</NewSite> // Specify the relative path of the target site.

    </anyType>

    </SiteToSites>

    </MapPack>

  3. Save this file as an .xml file (for example, migrate.xml) in the backup folder.
  4. Under Start Menu, All Programs, and Microsoft SharePoint 2010 Products, launch SharePoint 2010 Management Shell.
  5. Run the command:

    stsadm -o export –url http://vwis116k:4007/formex -filename C:\BackupData\BackupFile.bak

    Any name can be given to backup file. It will create a backup of SharePoint site data.

  6. After launching SharePoint 2010 Management Shell, go to the Directory: C:\Program Files\Sharevis\bin
  7. Run the command:

    PS C:\Program Files\Sharevis\bin> .\svmigrate.exe -w http://vwis116k:4007/formex -f C:\BackupData\BackupFile.svb

    Any name can be given for the backup file. It will create backup of workflow data.

  8. Next, create a backup of Sharevis Database on Source Site by completing the following steps:
    1. Launch SQL Server.
    2. Go to Sharevis Database.
    3. Right-click, click Task, and then click Backup.
    4. Remove the Selected File in Destination.
    5. Click Add.
    6. Browse the Backup Folder in C: drive.
    7. Enter File name as Sharevis.bak

      Any name can be given for the backup file.

    8. A backup of Sharevis data is created.
  9. Go to the target site.
  10. Copy the backup folder to the C: drive.
  11. Restore the database of the source site on the target site by completing the following steps:
    1. Launch SQL Server.
    2. Delete Sharevis Database (please take a backup of the database before deleting).
    3. Click Databases.
    4. Right-click, and then click Restore Database.
    5. Specify the source as: From Device
    6. Add the File C:\\BackupData\Sharevis.bak (backup file of database).
    7. Click OK.
  12. Launch the SharePoint Management Shell and run the following command:

    stsadm -o import -url http://wsql8spf10k/forms -filename C:\BackupData\BackupFile.bak

  13. Run the following command now:

    C:\Program Files\Sharevis\bin>svmigrate.exe -r -w http://wsql8spf10k/forms -f C:\BackupData\BackupFile.svb -m C:\BackupData\migrate.xml

    Note: -m is required only if source and destination sites are different, like in this case /formex and /forms are different.

  14. Restart the IIS.

Previous Topic

Next Topic