Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.It'd be great to allow remote imports of multiple sites at once or even entire platforms.
It'd be great to allow remote imports of multiple sites at once or even entire platforms.
Comments
Comment #1
ergonlogicNew features should be added to the 7.x-3.x branch.
Comment #2
snlnz CreditAttribution: snlnz commented+1 has anyone done anything with this recently? It would be awesome to be able to batch migrate sites, I hear of various methods but no examples be nice to hear what others do to migrate sites in the masses.
Comment #3
colanApparently not. Patches welcome!
Comment #4
bgm CreditAttribution: bgm commentedIt's possible to use 'provision-remote_import' from the command line, ex:
Where server_XXXX is the remote server, platform_civicrm is the alias for my platform on the new server.
I wrote a short script (in Ansible): https://gist.github.com/mlutfy/6441b6db192528d7b22e823f3e30329c
The advantage of using Ansible is that we can list the sites in our inventory, define batches (migrate 10-15 sites at the time), and track which sites were migrated when. Ideally, it would also update the DNS as sites are migrated.