Actions
Bug #101920
openExport and import with impexp CLI - page structure ok, missing content / files / TS template (ddev / docker)
Status:
New
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2023-09-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Export with backend / GUI:
- .t3d contains everything i want
- file-DIR with files is created
- import works, all Elements and relations ok(pages, tt_content, templates, files)
Export with CLI (same settings as with GUI):
- export shows no errors
- .t3d file is created (but missing: tt_content, TS templates ...)
- file-DIR is created, but empty
- import (with backend/GUI): seems ok, pages / page-structure is ok, but no CEs / files (as they are already missing in .t3d)
I think i followed the instructions (https://docs.typo3.org/c/typo3/cms-impexp/main/en-us/Usage/CommandLine.html) and compared them with the GUI settings which actually work when all is done in the backend.
#!/bin/bash
/var/www/html/vendor/bin/typo3 impexp:export \
--type="t3d" \
--pid="5" \
--levels="999" \
--table="sys_category,sys_file,sys_file_collection,sys_file_metadata,sys_file_reference,sys_template,tt_content,tx_news_domain_model_link,tx_news_domain_model_news,tx_news_domain_model_tag" \
--include-related="backend_layout,pages,sys_category,sys_file,sys_file_collection,sys_file_metadata,sys_file_reference,sys_template,tt_content,tx_news_domain_model_link,tx_news_domain_model_news,tx_news_domain_model_tag" \
--include-static="backend_layout,sys_file_storage" \
--exclude-html-css \
--title="export-ddev-id-5" \
--save-files-outside-export-file \
filename-export-ddev-id-5-v5
Actions