[Yandex Cloud documentation](../../index.md) > [Yandex Cloud Backup](../index.md) > [Step-by-step guides](index.md) > VM in Cloud Backup > Viewing the backup log

# Viewing the backup log

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder where Cloud Backup is connected.
  1. Navigate to **Cloud Backup**.
  1. In the left-hand panel, click ![image](../../_assets/console-icons/server.svg) **Virtual machines**.
  1. Click ![image](../../_assets/console-icons/ellipsis.svg) next to the VM you need and select `Open the backup log`.

      To open the backup log, you can also hover over the last operation status and follow the link in the pop-up window.

- 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.

  1. See the description of the CLI command for viewing the backup log:

      ```bash
      yc backup vm list-tasks --help
      ```

  1. Run this command:

      ```bash
      yc backup vm list-tasks <VM_ID>
      ```

      Result:

      ```bash
      +---------------------+-----------+----------------------+--------------+-----------------------+-----------+---------------------+---------------------+-------------+
      |       TASK ID       | POLICY ID |     INSTANCE ID      |     TYPE     |       PROGRESS        |  STATUS   |     STARTED AT      |    COMPLETED AT     | RESULT CODE |
      +---------------------+-----------+----------------------+--------------+-----------------------+-----------+---------------------+---------------------+-------------+
      | 15588663203******** | 999...18a | epd5fs8ojqhg******** | BACKUP       | current:94 total:100  | COMPLETED | 2025-03-05 07:00:02 | 2025-03-05 07:05:10 | OK          |
      | 15588519218******** | 999...18a | epd5fs8ojqhg******** | BACKUP       | current:100 total:100 | COMPLETED | 2025-03-05 06:00:02 | 2025-03-05 06:05:19 | OK          |
      | 15588436116******** | 894...2d1 | epd5fs8ojqhg******** | APPLY_POLICY |                       | COMPLETED | 2025-03-05 05:25:24 | 2025-03-05 05:25:24 | OK          |
      +---------------------+-----------+----------------------+--------------+-----------------------+-----------+---------------------+---------------------+-------------+
      ```

- API {#api}

  Use the [listTasks](../backup/api-ref/Resource/listTasks.md) REST API method for the [Resource](../backup/api-ref/Resource/index.md) resource or the [ResourceService/ListTasks](../backup/api-ref/grpc/Resource/listTasks.md) gRPC API call.

{% endlist %}

#### See also {#see-also}

* [VM connection statuses](../concepts/vm-connection.md#statuses)
* [Viewing a VM connection status](get-connection-status.md)