With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
When referencing an environment-specific database in an Cloud Platform Drush command you must not add your sitename’s environment (for example, stg) to the database name, as shown in the following example:
drush @mysitegroup.test ac-database-instance-backup mysitegroupstgUsing the previous command will give you the following error, because no database named mysitegroupstg exists:
message : Resource not found
API status code 404The error occurs because Cloud Platform uses the same database name regardless of the environment. Appending the environment to the database name changes the database named in the command to a database that does not exist in your subscription, resulting in a 404 error.
The following command is an example of a correctly-formatted command:
drush @mysitegroup.test ac-database-instance-backup mysitegroupIf this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.