acquia/acquia-migrate-accelerate
Composer 安装命令:
composer require acquia/acquia-migrate-accelerate
包简介
An enhanced UI and assistant for Drupal migrations. See https://www.acquia.com/drupal9/accelerate-your-migration.
README 文档
README
What's this then?
This is a Drupal 9 module that provides a set of tools for accelerating a Drupal 7 → Drupal 9 migration.
Features:
- Provides a React-based UI for performing Drupal 7 → 9 migrations
- Migration Dashboard provides an overview of overall data migration progress
- Supports Import/Rollback/Rollback and Import of migrations
- Is smart about dependencies: dependencies must be imported first
- Preview displays incoming content prior to importing
- Messages pane allows viewing/filtering migration messages
- Catches entity validation errors in addition to migration errors
- and so much more! 😊
Specifying source database and files
Note: This step will no longer be required once the environment is generated from Acquia Cloud.
You only need to set the private file path if applicable.
Open your Drupal 9 site's sites/default/settings.php, create a new $databases['migrate'] entry (the key must be named migrate!), and specify the Drupal 7 source database. Also specify the base path for your Drupal 7 site (so that sites/default/files is a subdirectory). Like so:
$databases['migrate']['default'] = array (
'database' => 'my_d7_site_database',
'username' => 'root',
'password' => 'root',
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);
// The directory specified here must contain the directory specified in the
// "file_public_path" Drupal 7 variable. Usually: "sites/default/files".
$settings['migrate_source_base_path'] = '/web/vhosts/my-d7-site.com';
// The directory specified here must contain the directory specified in the
// "file_private_path" Drupal 7 variable. Usually outside the web root.
$settings['migrate_source_private_file_path'] = '/somewhere/private';
Troubleshooting
I go to /acquia-migrate-accelerate/migrations I get "An unrecognized error occurred." What gives?!
This is normally caused by Drupal issuing a 500 error. Go to /admin/reports/dblog and see if that holds any clues. Another common troubleshooting step is to clear the cache. (Navigate to /admin/config/development/performance or run drush cr)
I'm getting a ton of "can't find files" errors when attempting to migrate Public files. HALP!
Remember that public files need the base path to the files directory (in other words, the parent directory of where the /files path resides), not the files directory itself.
I found something not listed here, or I have other feedback!
Please file a Zendesk ticket against the 'Beta Programs' ticket type.
License
Use of Acquia Migrate Accelerate is subject to the terms in the included LICENSE.txt and the included Subscription and Services Agreement.
acquia/acquia-migrate-accelerate 适用场景与选型建议
acquia/acquia-migrate-accelerate 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 66.85k 次下载、GitHub Stars 达 13, 最近一次更新时间为 2020 年 07 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 acquia/acquia-migrate-accelerate 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 acquia/acquia-migrate-accelerate 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 66.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-07-09