t3g / ddev-utilities
Utility Extension for intended use with ddev-based setups
Installs: 3 936
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 8
Forks: 1
Open Issues: 2
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^8.7 || ^9.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.12
This package is auto-updated.
Last update: 2024-10-24 23:56:21 UTC
README
This extension for TYPO3 adds utilities to make working with ddev by drud easier.
If you want to contribute, feel free to create PRs here.
Utilities
...
Commands
Export available databases
bin/typo3cms ddev:exportdb
exports all configured databases.
The export is rather clever and exports the structure of all tables (so
ddev importdb
works) but leaves out all unnecessary data like caching tables,
session tables etc.
Optional arguments:
snapshot
stores a copy of the exported data into a timestamped folder
Usage:
bin/typo3cms ddev:exportdb snapshot
Note: This command currently relies on mysqldump, so results may vary (in the sense that I doubt it'll do anything on MSSQL :)