CLI Script¶
You migrate the tt_news data and the tt_news plugins by a CLI script. See Run below.
If you want to know more about the workflows, please refer to
Run¶
Run all needed migration scripts:
vendor/bin/typo3cms migration:migrate \
--configuration EXT:migration_ttnews2orgxblog/Configuration/Migration.php \
--dryrun 0
If you want to measure the duration, run the code from above with a prefixed time:
time vendor/bin/typo3cms migration:migrate \
--configuration EXT:migration_ttnews2orgxblog/Configuration/Migration.php \
--dryrun 0
Samples¶
dryrun is true by default.
Test all¶
Run all migration scripts – data and plugins – without any execution (dryrun):
vendor/bin/typo3cms migration:migrate \
--configuration EXT:migration_ttnews2orgxblog/Configuration/Migration.php
Test for a special folder¶
Run all migration scripts for the page/folder with the id 160 only and without any execution (dryrun):
vendor/bin/typo3cms migration:migrate \
--configuration EXT:migration_ttnews2orgxblog/Configuration/Migration.php \
--limitToPage 160 \
--recursive 0
Test records from tt_news only¶
Run the migration script for tt_news records only without any execution (dryrun):
vendor/bin/typo3cms migration:migrate \
--configuration EXT:migration_ttnews2orgxblog/Configuration/Migration.php \
--key tt_news