I am running several Drupal 7 multi-sites that share same code base as well as the same database with prefixed tables per multi-site (some tables are shared too).
Now I need to sync the data of one multi-site with the data of another multi-site within the same database. I thought Drush could easily do the job with:
drush sql-sync [from multi-site1] [to multi-site2]
But i recognized, that the sync is done per database and not based on prefixed tables... That sounds logical!
So the command above would sync [same_database] with [same_database], but what i need is a script that runs like this:
sync [all prefixed1_ tables] with [all prefixed2_ tables] within same database
Now my question: Has anyone worked on synchronization of multi-sites within the same database before, or has anyone a hint on best practice?