简体   繁体   English

TYPO3导出/导入记录tx_news

[英]TYPO3 export/import records tx_news

I would like to export tx_news records from a running typo3 6.2, tx_news 3.2.4 and import them in a new Server running typo3 9.5 tx_news 7. T3D Export dont work cause there are about 3000 records. 我想从正在运行的typo3 6.2,tx_news 3.2.4导出tx_news记录,并将它们导入到运行typo3 9.5 tx_news 7的新服务器中。T3D导出不起作用,因为大约有3000条记录。 Export/import of the table tx_news_domain_model_news is no problem. 导出/导入表tx_news_domain_model_news没问题。 I have problems with the related records in table sys_file. 我在表sys_file中的相关记录有问题。

I cant update the running 6.2 site cause FE and BE dont work any more after update. 我无法更新正在运行的6.2站点,因为更新后FE和BE不再起作用。 This site wasnt maintained for about a year now ... 该网站至今未维护约一年...

Isnt it possible to export following tables from typo3 6.2 DB with phpmyadmin as SQL: 不能使用phpmyadmin作为SQL从typo3 6.2 DB导出以下表:

$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',
];

Import these tables with phpmyadmin in the new installation typo3 9.5. 在新安装的typo3 9.5中,使用phpmyadmin导入这些表。 Copy all folders/images in fileadmin/ from old to new server. 将fileadmin /中的所有文件夹/图像从旧服务器复制到新服务器。 Create Folders containing tx_news records in new Typo3 installation and update the 'pid' in table of tx_news_domain_model_news 在新的Typo3安装中创建包含tx_news记录的文件夹,并更新tx_news_domain_model_news表中的“ pid”

And after that : 在那之后 :

Do migration: ./typo3cms news:sync
Sync all images: ./typo3cms news:imagesync

?

but i have no idea how to use ./typo3cms with your extension: 但我不知道如何在扩展名中使用./typo3cms:

Error: [ Symfony\\Component\\Console\\Exception\\CommandNotFoundException ] Command "news:imagesync" is not defined. 错误:[Symfony \\ Component \\ Console \\ Exception \\ CommandNotFoundException]未定义命令“ news:imagesync”。 Did you mean one of these? 您是这些意思之一吗? news:newsimport:run newsimport:run 新闻:新闻进口:运行新闻进口:运行

That is not trivial but I did that once. 那不是小事,但我做了一次。 Important is that you must still update the 6.2 installation, at least core upgrade + news upgrade. 重要的是,您仍必须更新6.2安装,至少是核心升级+新闻升级。 Regarding news: all upgrades are collected in the extension https://github.com/ext-news/news_fal_migration 关于新闻:所有升级都收集在扩展https://github.com/ext-news/news_fal_migration中

Then you can use https://github.com/ext-news/news_sync . 然后,您可以使用https://github.com/ext-news/news_sync If you need support there, please contact me in private 如果您需要在那里的支持,请私下与我联系

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM