In looking at the drush command within replication I assumed that "database" was being used as a synonym for "workspace." So I tried:
drush replication-start stage live
Source database not found. [error]
Target database not found. [error] In looking at the code it seems that this drush command do not expect the names of workspaces, but rather URLs. Is that correct? What would the command look like to replicate from stage to live? Should there be a command that simply needs workspace machine names?
Right now I'm just trying replication within one Drupal install. I do not have RELAXed Web Services installed.
Comments
Comment #2
stevectorComment #3
papagrande@stevector I think what you are looking for would be in #2872413: Implement a drush command for update from upstream, where presumably you would pass workspace names to replicate between workspaces, either local or remote (relaxed).
I took a look at the code for the replication drush command and it does indeed require a URL. In fact, to make it work you have to pass the relaxed username and password as part of the URL in the command in order for it to succeed. Since passing passwords in the clear in drush commands is not acceptable to my client (nor likely anyone else), I'm going to work on creating drush commands for the workspace module in #2872413: Implement a drush command for update from upstream.