Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Backup
    • All guides
    • Activating the service
      • Creating a backup
      • Restoring a VM or BareMetal server from a backup
      • Restoring a VM or BareMetal server from a backup of another VM or BareMetal server
      • Restoring individual directories and files from a backup
      • Viewing the parameters of backup disks and partitions
      • Deleting a backup
      • Deleting all backups of a VM or BareMetal server
    • Viewing service resource operations
    • Limiting RAM usage by the Cloud Backup agent
    • Viewing backup statistics
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Step-by-step guides
  2. Backups
  3. Deleting a backup

Delete backup

Written by
Yandex Cloud
Updated at July 9, 2025

Note

To delete backups, make sure the folder contains at least one VM or BareMetal server connected to Cloud Backup. If there are no such VMs or servers, temporarily create a new VM with a connection to Cloud Backup and delete the backups.

To delete a backup:

Management console
CLI
API
  1. In the management console, select the folder containing the backup.
  2. In the list of services, select Cloud Backup.
  3. In the left-hand panel, select Backups.
  4. Depending on the resource you want to delete the backup for, select the Virtual machines or BareMetal servers tab.
  5. Click in the row with the backup you need to delete and select Delete.
  6. Confirm the deletion.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. View a description of the CLI delete backup command:

    yc backup backups delete --help
    
  2. Get the ID of the backup to delete:

    yc backup backups list
    

    Result:

    +--------------------------------------+--------------------------------------+----------------------+--------------------------------------+----------------------+------+------------------+--------+---------------------+
    |                  ID                  |              ARCHIVE ID              | COMPUTE INSTANCE ID  |             RESOURCE ID              |      POLICY ID       | TYPE |      DISKS       |  SIZE  |     CREATED AT      |
    +--------------------------------------+--------------------------------------+----------------------+--------------------------------------+----------------------+------+------------------+--------+---------------------+
    | ab55286e-795f-44dc-90af-b718******** | ef3e8144-fb65-6a59-5ec1-3162******** | jklp0o9i8012******** | 2465BE59-5687-4539-9589-DF7E******** | abc7n3wln123******** | FULL | Disk 1 (15.0 GB) | 1.5 GB | 2023-07-07 16:00:15 |
    | cd50e147-7dfa-449f-816b-67f8******** | gh06b195-c095-1234-7809-0700******** | mnoa5s6d8345******** | 135C519D-B5A3-4781-8DFA-40B3******** | deflqbiwc456******** | FULL | Disk 1 (15.0 GB) | 1.6 GB | 2023-07-03 10:00:10 |
    +--------------------------------------+--------------------------------------+----------------------+--------------------------------------+----------------------+------+------------------+--------+---------------------+
    
  3. Get the ID of the VM whose backup you need to delete:

    yc compute instance list
    

    Result:

    +----------------------+---------+---------------+---------+--------------+-------------+
    |          ID          |  NAME   |    ZONE ID    | STATUS  | EXTERNAL IP  | INTERNAL IP |
    +----------------------+---------+---------------+---------+--------------+-------------+
    | jklp0o9i8012******** | my-vm-1 | ru-central1-b | RUNNING | 51.250.**.** | 192.168.*.* |
    | mnoa5s6d8345******** | my-vm-2 | ru-central1-b | RUNNING | 84.201.**.** | 192.168.*.* |
    +----------------------+---------+---------------+---------+--------------+-------------+
    

    To get the BareMetal server IDs, select BareMetal from the list of services of the relevant folder in the management console. The IDs are specified in the server list in the ID field.

  4. Delete the backup:

    yc backup backups delete \
      --backup-id <backup_ID> \
      --instance-id <VM_or_BareMetal_server_ID>
    

    Where:

    • --backup-id: ID of the backup to delete.
    • --instance-id: ID of the VM or BareMetal server whose backup you need to delete.

For more information about this command, see the CLI reference.

Use the delete REST API method for the Backup resource or the BackupService/Delete gRPC API call.

See alsoSee also

  • Deleting all backups of a VM or BareMetal server

Was the article helpful?

Previous
Viewing the parameters of backup disks and partitions
Next
Deleting all backups of a VM or BareMetal server
© 2025 Direct Cursus Technology L.L.C.