Workflow Migration Guide
Source Site: http://vwis116k:4007/formex
Target Site: http://wsql8spf10k/forms
<?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>
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.
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.
Any name can be given for the backup file.
stsadm -o import -url http://wsql8spf10k/forms -filename C:\BackupData\BackupFile.bak
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.