I have a drupal multisite installation and I want to know if its possible to update all sites (sub-domains) using drush without having to do it individually for each site.
I have a drupal multisite installation and I want to know if its possible to update all sites (sub-domains) using drush without having to do it individually for each site.
Comments
Comment #1
moshe weitzman commentedi don't know if you are updating code or database or both. Contrib or core? Anyway, the answer is no. We don't have any core facility to iterate over all your sites. I do think drush could speed your work. See update, updatecode and updatedb commands.
Comment #2
kdes commentedthanks. I want to update both code and database. But just database would also be good enough. Basically I was looking for someway to easily run update.php across all sites. Both for core and contrib. I'll look at those commands.
Comment #3
kdes commentedComment #5
izarco commentedhi, i need the same feacture, any solution?
Comment #6
izarco commentedComment #7
greg.1.anderson commentedThis is in progress in issue #628996: Concurrently execute a single drush command on multiple sites.