database:export
Export database to stdout
Export the database (all tables) directly to stdout. The mysqldump binary must be available in the path for this command to work. This obviously only works when MySQL is used as DBMS.
Tables to be excluded from the export can be specified fully qualified or with wildcards:
Example:
typo3 database:export -c Default -e 'cf_*' -e 'cache_*' -e '[bf]e_sessions' -e sys_log
Copied!
typo3 database:export database:export -c Default -- --column-statistics=0
Copied!
Arguments
additional
Mysql Dump Arguments - Pass one or more additional arguments to the mysqldump command; see examples
Options
--
exclude |- e - Full table name or wildcard expression to exclude from the export.
- Accept value: yes
- Is value required: yes
- Is multiple: yes
- Default: array ()
--
connection |- c - TYPO3 database connection name (defaults to all configured MySQL connections)
- Accept value: yes
- Is value required: yes
- Is multiple: no