I am getting an error "Backup version is different" while restoring SiteCollections from one web application to another on the same SharePoint server farm. Following are the steps I was executing when I got the error
- Created a new web application in the same sharepoint farm (url: http://localhost:5000).
- Created a new SiteCollection and some test sites under the site collection (url: http://localhost:5000).
- Took a sitecollection backup using Backup-SPSite (url: http://localhost:5000)
Executed Restore-SPSite command against an existing webapplication with no site collections. (url: http://localhost:3000)
Restore-SPSite http://localhost:3000 -Path D:\Localhost_5000.bak -Force
After executing Restore-SPSite I got an error stating that "Restore-SPSite : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '18.104.22.168' or later."
One thing I noticied is that, if I restore the SiteCollection to the same url (eg: http://localhost:5000) no error is thrown and everything goes well.
After googling I came to see similar posts in SO, where the proposed solution was to verify the build version and make sure patches installed on the Source machine is available on destination machine as well. But in my case I am taking a backup and restoring it on the same machine under a different webapplication.
Please help me to resolve this.