【发布时间】:2019-02-16 11:36:53
【问题描述】:
我想从正在运行的typo3 6.2、tx_news 3.2.4 中导出tx_news 记录并将它们导入到运行typo3 9.5 tx_news 7 的新服务器中。T3D 导出不起作用,因为大约有3000 条记录。 表 tx_news_domain_model_news 的导出/导入没有问题。我对 sys_file 表中的相关记录有疑问。
我无法更新正在运行的 6.2 站点,因为更新后 FE 和 BE 不再工作。 这个网站大约一年没有维护了...
是否可以使用 phpmyadmin 从typo3 6.2 DB 中导出以下表格作为 SQL:
$importTables = [
'sys_category',
'sys_category_record_mm',
'sys_file',
'sys_file_metadata',
'sys_file_reference',
'tx_news_domain_model_news',
'tx_news_domain_model_news_related_mm',
'tx_news_domain_model_news_tag_mm',
'tx_news_domain_model_news_ttcontent_mm',
'tx_news_domain_model_tag',
'tx_news_domain_model_link',
];
在新安装的typo3 9.5 中用phpmyadmin 导入这些表。 将 fileadmin/ 中的所有文件夹/图像从旧服务器复制到新服务器。 在新的 Typo3 安装中创建包含 tx_news 记录的文件夹并更新 tx_news_domain_model_news 表中的 'pid'
然后:
Do migration: ./typo3cms news:sync
Sync all images: ./typo3cms news:imagesync
?
但我不知道如何在您的扩展程序中使用 ./typo3cms:
错误:[ Symfony\Component\Console\Exception\CommandNotFoundException ] 命令“news:imagesync”未定义。你的意思是其中之一吗? 新闻:新闻导入:运行 新闻导入:运行
【问题讨论】:
-
9.5 站点是新的和空的吗?那么您可以升级旧站点并使用所需的部分。
标签: import export typo3 tx-news typo3-9.x