concretecms / migration_tool
Import content into your concrete5 sites. Cross-grade from version 5.6, 5.7 and more.
Installs: 1 674
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 6
Forks: 6
Open Issues: 19
Type:concrete5-package
This package is auto-updated.
Last update: 2024-12-14 15:27:29 UTC
README
Download the Correct Package
There are several versions of the Migration Tool designed to work with various historical and current versions of Concrete CMS. Navigate to the appropriate GitHub repository page and download the latests release of the master branch:
Install the Package on Your Concrete CMS
- Upload the package:
- Extract the downloaded ZIP file.
- Upload or copy the
migration_tool
directory to your Concrete installations underpackages/
(located in the installation root).
General Process Note
Exporting and importing content is not always a straightforward process. Differences in the source and destination sites may require new attribute mappings or other compromises. The hurdles and solutions are not always obvious from the outset, so unless the two sites are exact copies, plan on this being an iterative process.
To help simplify this process, it may be useful to group exported data into smaller batches of content either by type or by size. The importation of these smaller batches can be verified for accuracy and completeness and, if issues are found, can be corrected through different mappings.
As part of this process, the destination site might accumulate imported content which is not correct. A backup should be made of the destination site before importing any content or, if the site is a fresh installation, be prepared to drop the database and start over. To simplify the process, content mapping settings can be saved and revised until all content is imported correctly. This makes the process repeatable and facilitates a final import after this trial-and-error process.
More detailed instructions and advice can be found in the Migration Tool Tutorial.
Exporting Content
From the source site, export the content using the following steps.
Access the Migration Tool
- After installation, access the Migration Tool by navigating to Dashboard > Migration Tool.
Create a New Export Batch
-
Create Batch:
- Click on Create New Batch.
- Name your batch for easy identification. Content is often exported in batches rather than all at once especially when there are large differences beteen the source and destination sites. For example, you might export users and associated information as one batch first, and then later export the pages they authored as another batch.
-
Select Content to Export:
- Choose the content types you wish to export (e.g., pages, files, users).
- Configure the specifics for each content type, such as which pages or which user data to include.
Run the Export
- Once you’ve configured your batch, click Export to generate a XML file containing your selected content.
- Download this file to your local machine. It will be used to import content to the destination site.
Importing Content
Upload the Export File
- Navigate to Dashboard > Migration Tool on the destination site.
- Click on Import Content.
Start the Import Process
-
Upload the XML File:
- Use the file upload interface to select and upload the XML file you exported from the source site.
-
Import Content:
- After the file is uploaded, the tool will automatically parse the XML.
- Review the content and configurations to be imported. Map the
content where needed. This is where breaking the exported content
into batches as this process can be labor intensive.
- Once all content is mapped, consider saving the mapping settings. This can help save time if the import process does not work as expected.
- Click Perform Import to begin the import process.
Verify the Imported Content
- After the import process completes, verify that all content has been successfully imported and is functioning as expected. You may have to try importing the content with different settings or mappings and check the results for completeness.
- Check for any discrepancies or issues and address them as necessary. If you have saved the content mappings, this trial-and-error process will be much easier.