Commit 5a51e471 authored by Adrian Rossouw's avatar Adrian Rossouw

clone also supports db server migration now.

parent 9d524495
......@@ -44,7 +44,11 @@ function drush_provision_drupal_provision_clone($new_uri, $platform = null) {
$options['platform'] = (isset($platform)) ? $platform : $options['platform'];
$options['aliases'] = array();
$options['redirection'] = 0;
if ($db_server = drush_get_option('new_db_server', FALSE)) {
$options['db_server'] = $db_server;
}
drush_backend_invoke_args('provision-save', array($new_uri), $options);
# note that we reset the aliases so they don't conflict with the original site
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment