Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal,...
-
Upload
deborah-walsh -
Category
Documents
-
view
219 -
download
0
Transcript of Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal,...
![Page 1: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/1.jpg)
Drupal MigrationEverright Chen
![Page 2: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/2.jpg)
About Me
● Developer Master in CI&T● Drupal (8+)● Drupal, Magento, Wordpress,
osCommerce● PHP, Python, Java, Bash, Ruby, SQL, IO
S, Javascript, CSS, ...● Acquia Certified Developer, MCSE,
MCDBA, RCE● Github: https://github.com/everright
![Page 3: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/3.jpg)
Agenda
●Why Drupal●None Drupal to Drupal●Drupal to Drupal●Data Migration●Drupal in CI&T
![Page 4: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/4.jpg)
Why Drupal
![Page 5: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/5.jpg)
● Rapid Website Development● Scalable (tons of extensions, hooks,
API)● Its Secure (ACL, user authentication,
permission)● Multilingual● Multi-site by one instance● Custom Content Type● Powerful Template System● Easy to Update● Its Open Source (FREE!)● Large Community Support
![Page 6: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/6.jpg)
None Drupal to Drupal
![Page 7: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/7.jpg)
CMSeCommerceLMS……
![Page 8: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/8.jpg)
![Page 9: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/9.jpg)
Drupal Integration
![Page 10: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/10.jpg)
Demo: CSV Import into Drupal with SQL
● Load Data Infile● MySQL Procedure● MySQL UDF
![Page 11: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/11.jpg)
Drupal to Drupal
![Page 12: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/12.jpg)
![Page 13: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/13.jpg)
Upgrade Migration
![Page 14: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/14.jpg)
1. Inventory your third party modules2. Backup your old Drupal installation3. Disable third party modules and themes4. Remove the old Drupal installation5. Download and unpack Drupal 76. Begin the upgrade process7. Enable and update modules and themes8. Convert to custom modules and themes9. Test your new Drupal installation10.Clean up
Upgrade Process
![Page 15: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/15.jpg)
Drush Site Upgrade
![Page 16: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/16.jpg)
Module Upgrade Check with Coder
![Page 17: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/17.jpg)
Demo: Upgrade drupal 6 to 7
drush alias$aliases['site'] = array( 'root' => '/var/www/sites/dc67.local/', 'uri' => 'dc67.local:8000', 'db-url' => 'mysql://user:password@localhost/dbname',);
drush sup @site
![Page 18: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/18.jpg)
1. Backup your old Drupal installation2. Install clean drupal 73. Prepare custom configuration4. Install migrate module5. Install migrate_d2d module6. Start with migrate_d2d_ui
Migration Process
![Page 19: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/19.jpg)
![Page 20: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/20.jpg)
![Page 21: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/21.jpg)
![Page 22: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/22.jpg)
![Page 23: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/23.jpg)
Drupal 8 no longer supports upgrading data from Drupal 7 using the database update system (update.php)
![Page 24: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/24.jpg)
![Page 25: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/25.jpg)
![Page 26: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/26.jpg)
migrate in D8 core
![Page 27: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/27.jpg)
Migratecore//modules/migrate/
● provides general API for all migrations
● provides interfaces and base classes for all migration
plugin components (source, destination, process,
id_map, row).
● provides a plugin manager for manipulation on
migration plugins.
● provides the migrate configurable (configuration entity
type).
![Page 28: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/28.jpg)
Migrate Drupalcore/modules/migrate_drupal/
● the first module using the new Migrate API.
● kind of migrate_d2d successor.
● migrates out-of-the-box from Drupal 6 and 7 into Drupal
8.
● Defines migrations for all system components:
Drupal 6 settings (site name, slogan, roles, etc)
Content definitions (vocabularies, node types, etc)
![Page 29: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/29.jpg)
Drupal Module Upgrader
![Page 30: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/30.jpg)
Data Migration
● Source● Destination● Mappings● Prepare● Import● Rollback
![Page 31: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/31.jpg)
Data Migration
Import Flow
Rollback Flow
![Page 32: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/32.jpg)
Drupal in CI&T
![Page 33: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/33.jpg)
About the company
We are global with people in Brazil, USA, Europe, Australia, Japan and China
Our excellence has been recognized by the market with awards since our foundation in 1995
We are truly multi-cultural, an army of over 2000 talented employees and their great stories
![Page 34: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/34.jpg)
CI&T Pacific and Drupal● The biggest Drupal shop in Asia Pacific, focused on the
Enterprise● Experience delivering Drupal Enterprise sites to Pharma and
Retail companies ● Drupal Association Premium Supporting Partner, along with
other Community Activities Support/Engagement● Acquia Partner - 25+ CI&T Acquia Drupal Certified Developers,
8+ in CI&T Pacific
CI&T page at Drupal.org: https://www.drupal.org/node/1530378
Locations:●Development Center/Office in Ningbo●Also strategic Offices in Tokyo and Sydney
![Page 35: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/35.jpg)
Thanks!
![Page 36: Drupal Migration Everright Chen. About Me ●Developer Master in CI&T ●Drupal (8+) ●Drupal, Magento, Wordpress, osCommerce ●PHP, Python, Java, Bash, Ruby,](https://reader035.fdocuments.in/reader035/viewer/2022062407/56649d355503460f94a0c661/html5/thumbnails/36.jpg)