From ba8debd2b50f57bbdf0e6341508fac29dd4e4f32 Mon Sep 17 00:00:00 2001 From: Yevhen Miroshnychenko Date: Mon, 2 Mar 2020 17:31:31 -0600 Subject: [PATCH 1/8] MAGECLOUD-4890: Implement support for backup databases from split connections for `ece-tools` --- src/cloud/project/project-webint-snap.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cloud/project/project-webint-snap.md b/src/cloud/project/project-webint-snap.md index 5e8d4896ef4..52c8dc75515 100644 --- a/src/cloud/project/project-webint-snap.md +++ b/src/cloud/project/project-webint-snap.md @@ -117,6 +117,10 @@ To restore a snapshot using the Magento CLI: ## Dump your database {#db-dump} You can create a copy of your database using [`magento/ece-tools`]({{ site.baseurl }}/cloud/reference/cloud-composer.html#ece-tools). +By default, the command creates backups using all the connections to the databases that are available through the environment configuration. That is, if split databases are used, by default backup copies will be created for these databases +If you need to create backups by selecting one or more databases, for this you need to transfer the database names as an argument to the console command + +For help, use the command: ```php vendor/bin/ece-tools db-dump --help ``` {:.procedure} To create a database dump: @@ -140,7 +144,7 @@ To create a database dump: {:.bs-callout-info} - We recommend putting the application in maintenance mode before doing a database dump in Production environments. -- The command creates an archive in your local project directory called `dump-.sql.gz`. +- The command creates an archive in your local project directory called `dump-