db-dump (ece-tools; recommended)
You may dump your DB using the ECE-Tools command:
To update the ece-tools package:
On your local workstation, perform an update using Composer.
composer update magento/ece-tools
If you cannot update beyond ece-tools version 2002.0.8, follow the upgrade steps.
Add, commit, and push your code changes.
git add -A && git commit -m "Update magento/ece-tools" && git push origin <branch name>
After test validation, merge this branch to the Integration branch.
This the recommended and the safest option.
- 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
- If an error occurs during the dump, the command deletes the dump file to conserve disk space. Review the logs for details (/var/log/cloud.log).
For more details refer https://support.magento.com/hc/en-us/articles/360003254334-Create-database-dump-on-Cloud