Skip to content

Creating an NA <-> EU migration option #3005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Chaffexd
Copy link

@Chaffexd Chaffexd commented May 9, 2025

I've spent some time adding functionality to allow bi-directional space transfer(s) between NA and EU data centers as this functionality doesn't currently exist.

How it works:
contentful migrate datacenter --help ✔    at 18:35:19 

migrate datacenter

Migrate a space between Contentful data centers

Options:
-h, --help Show help [boolean]
--source Source data center (na or eu)
[required] [choices: "na", "eu"]
--target Target data center (na or eu)
[required] [choices: "na", "eu"]
--source-space-id Source space ID [string] [required]
--target-space-id Target space ID [string] [required]
--environment-id Environment ID (e.g. master)
[string] [default: "master"]
--source-token Source CMA token [string] [required]
--target-token Target CMA token [string] [required]
--use-verbose-renderer Display progress in new lines instead of spinner
[boolean] [default: false]
--include-taxonomies Migrate taxonomies (Concepts & Concept Schemes)
before importing content [boolean] [default: false]
--source-org-id Organization ID where taxonomies should be exported
from [string]
--target-org-id Organization ID where taxonomies should be imported
to [string]
--skip-content-publishing Skips content publishing. Creates content but does
not publish it [boolean] [default: false]

An example:
contentful migrate datacenter
--source na
--target eu
--source-space-id
--target-space-id
--source-token
--target-token
--source-org-id
--target-org-id
--include-taxonomies
--skip-content-publishing

I have manually tested this and it works both ways, it allows you to include taxonomies if you use them as otherwise the space import will fail, if you don't use them then you can simple use --include-taxonomies false

@Chaffexd Chaffexd requested a review from a team as a code owner May 9, 2025 16:18
@wiz-inc-38d59fb8d7
Copy link

wiz-inc-38d59fb8d7 bot commented May 9, 2025

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities
Data Finding Sensitive Data
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations
Total

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@Chaffexd Chaffexd changed the title Creating an NA -> EU migration option Creating an NA <-> EU migration option May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant