---
title: "calicoctl datastore migrate"
description: "Reference overview of the calicoctl datastore migrate subcommands in Calico Enterprise for performing safe datastore migrations."
product: "Calico Enterprise"
version: "3.23 (latest)"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico-enterprise/latest/reference/clis/calicoctl/datastore/migrate/overview"
---

# calicoctl datastore migrate

This section describes the `calicoctl datastore migrate` commands.

Read the [calicoctl Overview](https://docs.tigera.io/calico-enterprise/latest/reference/clis/calicoctl/overview.md) for a full list of calicoctl commands.

## Display the help text for 'calicoctl datastore migrate' commands

Run `calicoctl datastore migrate --help` to display the following help menu for the commands.

```text
Usage:
  calicoctl datastore migrate <command> [<args>...]

    lock    Lock the datastore to prevent changes from occurring during datastore migration.
    unlock  Unlock the datastore to allow changes once the migration is completed.

Options:
  -h --help      Show this screen.

Description:
  Migration specific commands for calicoctl.

  See 'calicoctl datastore migrate <command> --help' to read about a specific subcommand.
```

## Migrate specific commands

Details on the `calicoctl datastore migrate` commands are described in the documents linked below organized by sub command.

- [calicoctl datastore migrate lock](https://docs.tigera.io/calico-enterprise/latest/reference/clis/calicoctl/datastore/migrate/lock.md)
- [calicoctl datastore migrate unlock](https://docs.tigera.io/calico-enterprise/latest/reference/clis/calicoctl/datastore/migrate/unlock.md)
