Skip to content

Commit

Permalink
Fixes issue with order of dbcopy command.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Dec 7, 2017
1 parent a3071d9 commit 88aa794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/AcquiaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ protected function backupAndMoveDbs($uuid, $environmentFrom, $environmentTo)
// Copy DB from prod to non-prod.
$this->say("Moving DB (${dbName}) from ${environmentFromLabel} to ${environmentToLabel}");

$this->cloudapi->databaseCopy($environmentTo->uuid, $dbName, $environmentFrom->uuid);
$this->cloudapi->databaseCopy($environmentFrom->uuid, $dbName, $environmentTo->uuid);
$this->waitForTask($uuid, 'DatabaseCopied');
}
}
Expand Down

0 comments on commit 88aa794

Please sign in to comment.