• Logo
    Charmed MongoDB
  • canonical.com/data/mongodb
  • More resources
    • Discourse
    • Matrix
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Charmed MongoDB 6 documentation
Charmed MongoDB 6 documentation
  • Home
  • Tutorial
  • How-to guides
    • Deploy
      • via Juju CLI
      • via Terraform
    • Scale replicas and shards
    • Enable TLS
    • Manage client connections
    • Enable LDAP
    • Monitoring
      • View metrics
      • View audit logs
    • Back up and restore
      • Configure S3 AWS
      • Create a backup
      • Restore a backup
      • Migrate a cluster
    • Upgrade
      • Minor version upgrade
        • Upgrade a replica set
        • Upgrade a sharded cluster
      • Major version upgrade
  • Reference
    • Release notes
      • VM
        • Revision 164
        • Revision 199
        • Revision 229
      • K8s
        • Revision 61
        • Revision 81
    • System requirements
    • Charm testing
  • Explanation
    • Security
      • Hardening guide
      • Cryptography
    • Sharding
    • Users
    • Advanced statuses
Back to top

How to upgradeΒΆ

The MongoDB charm supports two kinds of upgrades:

  • Minor in-place upgrades of MongoDB 6 revisions via juju refresh

    • See: How to perform a minor version upgrade

  • Major upgrade from MongoDB 6 to MongoDB 8 via cluster migration

    • See: How to perform a major version upgrade

Copyright © 2025 CC-BY-SA, Canonical Ltd.
Last updated on Oct 22, 2025
Contents
  • How to upgrade