Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All tutorials
      • Creating a snapshot
      • Getting information about a disk snapshot
      • Deleting a snapshot
      • Creating a snapshot schedule
      • Getting information about a disk snapshot schedule
      • Changing a snapshot schedule
      • Disabling and enabling a snapshot schedule
      • Encrypting an image
      • Configuring disk snapshot access permissions
      • Configuring snapshot schedule access permissions
      • Deleting a snapshot schedule
    • Viewing operations with resources
  • Yandex Container Solution
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Disk snapshots
  3. Deleting a snapshot schedule

Deleting a disk snapshot schedule

Written by
Yandex Cloud
Updated at May 13, 2025

To delete a disk snapshot schedule:

Management console
CLI
Terraform
API
  1. In the management console, select the folder containing the schedule.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Snapshots.
  4. Go to the Snapshot schedules tab.
  5. Next to the schedule to delete, click and select Delete.
  6. Confirm the schedule deletion.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. See the description of the CLI commands for managing schedules:

    yc compute snapshot-schedule --help
    yc compute snapshot-schedule delete --help
    
  2. Get a list of schedules in the default folder:

    yc compute snapshot-schedule list --format yaml
    

    Result:

    - id: fc852cvb1ipd5********
      folder_id: e1ea8s8l71li********
      created_at: "2022-09-28T13:25:02Z"
    ...
        expression: 10 19 ? * *
      snapshot_count: "7"
      snapshot_spec: {}
    
  3. Delete the selected schedule:

    yc compute snapshot-schedule delete <schedule_name_or_ID>
    

    Result:

    done (5s)
    

If you do not have Terraform yet, install it and configure its Yandex Cloud provider.

  1. Open the Terraform configuration file and delete the section specifying the schedule:

    Example of specifying a schedule in Terraform configuration
    resource "yandex_compute_snapshot_schedule" "default" {
      name = "my-name"
    
      schedule_policy {
        expression = "0 0 * * *"
      }
    
      snapshot_count = 1
    
      snapshot_spec {
        description = "snapshot-description"
        labels = {
          snapshot-label = "my-snapshot-label-value"
        }
      }
    
      disk_ids = ["test_disk_id", "another_test_disk_id"]
    }
    
  2. Apply the changes:

    1. In the terminal, change to the folder where you edited the configuration file.

    2. Make sure the configuration file is correct using the command:

      terraform validate
      

      If the configuration is correct, the following message is returned:

      Success! The configuration is valid.
      
    3. Run the command:

      terraform plan
      

      The terminal will display a list of resources with parameters. No changes are made at this step. If the configuration contains errors, Terraform will point them out.

    4. Apply the configuration changes:

      terraform apply
      
    5. Confirm the changes: type yes in the terminal and press Enter.

You can check the schedule deletion using the management console or this CLI command:

yc compute snapshot-schedule list
  1. Get a list of schedules using the list REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/List gRPC API call.
  2. Delete the snapshot schedule using the delete REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/Delete gRPC API call.

All snapshot creation and deletion operations that started prior to deleting the schedule will be completed.

Was the article helpful?

Previous
Configuring snapshot schedule access permissions
Next
Creating a disk placement group
© 2025 Direct Cursus Technology L.L.C.