---
title: "calicoctl datastore migrate unlock"
description: "Reference for the calicoctl datastore migrate unlock command in Calico Open Source, used to unlock a datastore after migration completes."
product: "Calico Open Source"
version: "3.32 (latest)"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico/latest/reference/calicoctl/datastore/migrate/unlock"
---

# calicoctl datastore migrate unlock

This sections describes the `calicoctl datastore migrate lock` command.

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

## Display the help text for 'calicoctl datastore migrate unlock' command

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

```text
Usage:
  calicoctl datastore migrate unlock [--config=<CONFIG>]

Options:
  -h --help                 Show this screen.
  -c --config=<CONFIG>      Path to the file containing connection
                            configuration in YAML or JSON format.
                            [default: /etc/calico/calicoctl.cfg]

Description:
  Unlock the datastore to complete migration. This once again allows
  Calico resources to take effect in the cluster.
```

### Examples

Unlock the datastore after migration to allow the Calico resources to affect the cluster.

```bash
calicoctl datastore migrate unlock
```

### General options

```text
-c --config=<CONFIG>     Path to the file containing connection
                         configuration in YAML or JSON format.
                         [default: /etc/calico/calicoctl.cfg]
```

## See also

- [Install calicoctl](https://docs.tigera.io/calico/latest/operations/calicoctl/install.md)
- [Resources](https://docs.tigera.io/calico/latest/reference/resources/overview.md) for details on all valid resources, including file format and schema
