[Yandex Cloud documentation](../../index.md) > [Yandex Container Registry](../index.md) > [Concepts](index.md) > Backups

# Backing up Docker images in Container Registry

Data in Container Registry is stored securely and replicated in the Yandex Cloud infrastructure. However, you can create backups of [Docker images](docker-image.md) at any time.

To back up your Docker images:

1. View the list of available [registries](registry.md):

   {% list tabs group=instructions %}

   - Management console {#console}

     1. In the [management console](https://console.yandex.cloud), select the folder where you want to view the list of registries.
     1. Select **Container Registry**.
     1. You can see a list of registries on the **Registries** tab.

   - CLI {#cli}

     If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).
     
     The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

     ```bash
     yc container registry list
     ```

     Result:

     ```text
     +----------------------+-------------+----------------------+
     |          ID          |   NAME      |      FOLDER ID       |
     +----------------------+-------------+----------------------+
     | crp1abc2tl3d******** | my-registry | b1g23ga82bcv******** |
     +----------------------+-------------+----------------------+
     ```

   - API {#api}

     Use the [list](../api-ref/Registry/list.md) method for the [Registry](../api-ref/Registry/index.md) resource.

   {% endlist %}

1. Get information about Docker images in each registry:

   {% list tabs group=instructions %}

   - Management console {#console}

     1. In the [management console](https://console.yandex.cloud), select the folder where you want to view information about Docker images.
     1. Select **Container Registry**.
     1. On the **Registries** tab, click the name of the registry.
     1. On the **Repositories** page, click the name of the repository.
     1. On the **Docker images** page you can see the Docker images.

   - CLI {#cli}

     ```bash
     yc container image list --registry-name my-registry
     ```

     Where `registry-name` is the registry name.

     Result:

     ```text
     +----------------------+---------------------+-----------------------------+-------+-----------------+
     |          ID          |       CREATED       |            NAME             | TAGS  | COMPRESSED SIZE |
     +----------------------+---------------------+-----------------------------+-------+-----------------+
     | crpabcpg1pde******** | 2020-10-26 15:45:39 | crp1abc2tl3d********/ubuntu | hello | 27.2 MB         |
     +----------------------+---------------------+-----------------------------+-------+-----------------+
     ```

   - API {#api}

     Use the [list](../api-ref/Image/list.md) method for the [Image](../api-ref/Image/index.md) resource.

   {% endlist %}

1. Download the Docker images you want from each registry using their full address, `cr.yandex/<name>:<tag>`:

   {% list tabs group=instructions %}

   - CLI {#cli}

     ```bash
     docker pull cr.yandex/<registry_ID>/ubuntu:hello
     ```

     Result:

     ```text
     hello: Pulling from crp1abc2tl3d********/ubuntu
     Digest: sha256:1d2b339619babc2d008eca2d5293e3c43ff84cbee597ff76dd3e7f7d********
     Status: Downloaded newer image for cr.yandex/crp1abc2tl3d********/ubuntu:hello
     cr.yandex/crp1abc2tl3d********/ubuntu:hello
     ```

   {% endlist %}

1. Make sure the Docker image has been pulled:

   {% list tabs group=instructions %}

   - CLI {#cli}

     ```bash
     docker image list
     ```

     Result:

     ```text
     REPOSITORY                                   TAG     IMAGE ID      CREATED     SIZE
     cr.yandex /crp1abc2tl3d********/ubuntu       hello   d12e********  3 days ago  72.9MB
     ubuntu                                       latest  d12e********  3 days ago  72.9MB
     ```

   {% endlist %}