migration_hbk_auto
The migration_hbk_auto module allows you to import configurations and entities
from a Drupal 7 site to a Drupal 10 site. This module is crucial for
efficiently bridging the gap between different Drupal versions, ensuring a
smooth and structured migration process.
Dependencies
Configuration
Before starting the migration process, you need to configure the module by
defining the URL of the Drupal 7 site from which data will be imported. Follow
these steps:
-
Go to
/admin/config/system/migration-settings. - Enter the URL of your Drupal 7 site in the provided field.
- Save the configuration.
This step ensures that the module knows where to fetch the data during the
migration process.
Import Configurations and Entities
Step 1: Navigate to Import Page
Go to the import page:
/admin/migration-hbk-auto/import-from-d7Step 2: Load Entities
Click the Load all entities button to display the entities
from your Drupal 7 site. The entities will be shown as an accordion list.
Step 3: Process Entities
- Expand the entity you want to process.
-
Click List bundles to display the bundles related to this
entity. - Expand the bundle you want to process.
-
Click Check configuration to verify that all configurations
related to this bundle are present. A mini-report will be provided with the
following details:- Number of contents to import
- Fields on the Drupal 7 side
- Fields on the Drupal 10 side
-
Any missing fields (displayed in red on the Drupal 7 side and as
"missing" on the Drupal 10 side)
Step 4: Re-import Fields
If any fields are missing or need to be re-imported, click the
Re-import all fields button.
Step 5: Import Content
-
Fill out the form at the bottom left of the page with the following
information:-
Pagination length: Defines how many contents will be
imported per query. -
Pagination start: Defines at which "page" the import
should start. -
Continue: Sets whether the import process should stop
on error.
-
Pagination length: Defines how many contents will be
-
Click the Import contents button to start importing the
contents.
Step 6: Content Import Management
In cases where you need to re-import only some content instances (e.g., you
have made changes that you do not want to lose in already imported instances),
you can use Content Import Management as follows:
- Click the Content management button.
- A popup will display a list of instances of your entity that you can manage.
-
Find the instance you want to recover and click the action button in the
action column to import it.
To learn more about the module, visit
href="https://habeuk.com/en/migrate-your-content-and-configurations-drupal7-dr..."
>Habeuk
>