Scope: Prime Mover Free / Pro version

Short answer. Yes. Long answer is below.

Why Prime Mover requires same blog IDs between export and import?

When you migrate a multisite sub-site to another multisite sub-site, Prime Mover requires the target blog ID to be the same with the origin site blog ID. For example you have subsite at the origin multisite with blog ID of 6. Prime Mover requires that the target multisite subsite should also be blog ID of 6.

The reason behind this is site validation. In a multisite network, Prime Mover uses blog ID to identify or validate if you are restoring to a correct site. If Prime Mover does not conduct site validation, a user can accidentally overwrite any site on a multisite network !

For example, your origin subsite has blog ID of 6 and then you accidentally restore it to blog ID of 12 (this is a different site in another network). Prime Mover won’t allow you to restore because this is a different site.

When you migrate single-site site to multisite, this is not an issue. It is because you during export procedure, Prime Mover ask you the target blog ID of the sub-site.

Workaround #1 : subsite -> single-site -> subsite

In case you really need to have a different importing blog ID from the source/exporting site. The following is a quick solution:

During the procedure to put it back to multisite sub-site mode, you can now specify new target blog ID.

Example illustration : Migrate test.abc.com with blog ID of 9 to test.xyz.com with blog ID of 12):

  • abc.com is your source site (exporting site) where you have test.abc.com as a subsite with blog ID of 9.
  • Migrate test.abc.com to a single site installation domain my-single-site.test (this single-site installation could be your localhost or any temporary single site in your test server).
  • Now, supposing the another multisite sub-site is test.xyz.com with blog ID of 12 (this is different multisite).
  • Migrate my-single-site.test to test.xyz.com , during this process – provide a blog ID of 12.
  • Solved.

Take note that while this workaround takes time. You can specify any target blog ID on the target site and does not have any limitations.

Workaround #2 – Prime Mover Target Blog ID (pro version only)

If you have Pro version (including trial version), things will be easier. It’s possible that you don’t need to migrate to temporary single-site and then multisite. It’s also possible that you do not need to change the target blog ID, and use the same blog ID as the origin site.

Example illustration : Migrate test.abc.com with blog ID of 9 to test.xyz.com with blog ID of 12):

  • Check first in target xyz.com multisite that the blog ID 9 is still not used with any sites. You can do this check by going to Network Admin -> Sites -> All sites and then search the blog ID.
  • Congratulations, based on the above screenshot, blog ID 9 is still not used with any sites (it gives “No sites found”.). This means we can use this as our importing ID instead of blog ID 12.
  • Now go to Sites -> Add New. You need to create a new site which is now using a blog ID of 9.
  • In Pro version of Prime version (trial included), you should see a new section Prime Mover Target Blog ID ( Optional )
  • Go ahead and make sure you enter target blog ID as 9 when creating this site.
  • Finally click “Add site“. If target blog ID 9 is still not used with any site, the new site should be created with blog ID of 9. Otherwise if its already used by another site, WordPress generates a different blog ID (which is not 9, since 9 is already used).
  • At this point, you should have a blog ID of 9 at the target site and in the origin source site also. You should be able to proceed to sub-site to sub-site migration.

What if target blog ID is already used by another/different sub-site? You should use the first workaround (subsite -> single-site (then generate any blog ID ) -> back to subsite again.

Future plans on handling this

We have plans to make this process easier for users. So in the future versions of Prime Mover, you can specify target blog ID when you export sub-site to another sub-site (just like what we have in single-site to multisite).

We don’t have definite timeline yet because this process can take some time to test.

Was this article helpful?
YesNo