💾 A Database Backup Manager (originally designed for Magento 2.x)
Added Command Line only Support for SSL connections to the database. An optional parameter, db-ssl-ca, is now usable on commandline. Expects Path to SSL CA e.g. /etc/ssl/my-cert.pem
Backward incompatible config fixes and more
PHP 8 compatibility
view-config
to dump the current YAML configuration to stdout.platform_shopware
and platform_magento_one
table groups because we're using this for more than just Magento 2.x!tmp_dir
configuration option to tmp-dir
.utf-8
as the default charset, potentially making backups created with an older versions unimportable. Use --download-only
and import manually if you run into this or update on your server and put
a new database backup.configure
command now presents the user will files to edit and a preview of the changes before writing to file.--project-config
option is now respected and the configuration file is loaded at the correct time.Fixes:
put
command no longer performs Magento 2 discovery if the required database options are specified as command-line parametersadmin
table strip group no longer removes administrator roles, only usersDEFINER
from CREATE TRIGGER
statements (#13)--db-*
optionsThis new major release for magedbm2 includes the following:
export
and import
commands (great for reproducing those bugs that need the data in your database, without jeopardising your sensitive customer data).magedbm2.yml
file with your project and add project-specific configuration in thereSince @bobbyshaw released Magedbm for Magento 1.x (https://github.com/meanbee/magedbm) back in 2015 it's become a critical tool in our processes for setting up development and staging environments. Now, thanks to a lot of work from @tgerulaitis, we've got a version for Magento 2.x!