• Cheat sheets
  • Documentation
  • API reference
  • Product updates
  • Sign in
Kontent.ai Learn
  • Plan
  • Set up
  • Model
  • Develop
  • Create
  • Overview
    • Overview
      • Overview
      • Create migration scripts
      • Safe content migration practices

Automate content migrations with CLI

12 minutes
Developer
0% complete
Content models and content continue to evolve after the initial migration, and ensuring safety requires more than a single-use script. This learning path guides you through writing and running migration scripts with data-ops and safely testing them before they reach production.

Create migration scripts with data-ops

Preview
  • 6 minutes
Changing your content model often means updating existing content to match the new structure. Migration scripts help you automate content changes across your project so you can update items in bulk without manually changing them through the Management API. This lesson walks you through creating migration scripts with data-ops.
Open

Safe content migrations in production

Preview
  • 6 minutes
A migration script does nothing until you run it, and once you do, it changes content immediately, and the only way to undo it is the rollback function you wrote. This lesson walks you through running your scripts safely, starting with a non-production environment, validating them against a fresh copy of production, and finally running them in production.
Open
Copyright © 2026 Kontent.ai. All rights reserved.
  • Web
  • Privacy policy
  • Cookies policy
  • Consent settings
  • Security
  • GDPR