diff --git a/src/Commands/AcquiaCommand.php b/src/Commands/AcquiaCommand.php index 2bbe386..d3c61a3 100644 --- a/src/Commands/AcquiaCommand.php +++ b/src/Commands/AcquiaCommand.php @@ -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'); } }