Pimcore database dump helper with focus on dump readability.
You can install the package via Composer:
composer require vintagesucks/pimcore-dump-helper --dev
You have to configure PIMCORE_DB_DSN
in your environment:
PIMCORE_DB_DSN="mysql://user:[email protected]:3306/database"
Optionally you can set DUMP_NO_DATA
to skip data for some tables:
DUMP_NO_DATA="cache_items,edit_lock,tmp_store"
vendor/bin/pimcore-dump-helper database:dump