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

In this article:

  • Disabling a schedule
  • Enabling a schedule
  1. Step-by-step guides
  2. Disk snapshots
  3. Disabling and enabling a snapshot schedule

Disabling and enabling a disk snapshot schedule

Written by
Yandex Cloud
Updated at May 13, 2025
  • Disabling a schedule
  • Enabling a schedule

Disabling a scheduleDisabling a schedule

To disable an automatic disk snapshot schedule:

Management console
CLI
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 you want to disable, click and select Stop.
  6. Confirm disabling the schedule.

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 disable --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"
      name: sched-1
      status: ACTIVE
      schedule_policy:
        start_at: "2022-10-01T00:00:00Z"
        expression: 59 14 */1 * *
      snapshot_spec: {}
    - id: fc89n1j15l7f********
      folder_id: e1ea8s8l71li********
      created_at: "2022-09-27T16:04:13Z"
      name: sched-2
      status: ACTIVE
      schedule_policy:
        start_at: "1970-01-01T00:00:00Z"
        expression: 0 */1 * * *
      retention_period: 3600s
      snapshot_spec: {}
    - id: fc8bplhqmh2b********
      folder_id: b8gauskl78li********
      created_at: "2022-10-03T13:28:01Z"
      name: sched-3
      description: Daily
      labels:
        machine: file-server
      status: ACTIVE
      schedule_policy:
        start_at: "2022-12-31T19:04:05Z"
        expression: 10 19 ? * *
      snapshot_count: "7"
      snapshot_spec: {}
    
  3. Disable the selected schedule:

    yc compute snapshot-schedule disable <schedule_name_or_ID>
    

    Result:

    done (3s)
    id: fc8e52mvchb2********
    folder_id: e1ea8s8l71li********
    created_at: "2022-09-28T09:15:28Z"
    name: sched-1
    status: INACTIVE
    schedule_policy:
      start_at: "1970-01-01T00:00:00Z"
      expression: 36 14 */1 * *
    snapshot_count: "3"
    snapshot_spec: {}
    
  1. Get a list of schedules using the list REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/List gRPC API call.
  2. Disable the snapshot schedule using the disable REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/Disable gRPC API call.

The schedule status will change to INACTIVE: disk snapshots will not be created or deleted.

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

Enabling a scheduleEnabling a schedule

To enable an automatic disk snapshot schedule:

Management console
CLI
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 you want to enable, click and select Start.

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 enable --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"
      name: sched-1
      status: ACTIVE
      schedule_policy:
        start_at: "2022-10-01T00:00:00Z"
        expression: 59 14 */1 * *
      snapshot_spec: {}
    - id: fc89n1j15l7f********
      folder_id: e1ea8s8l71li********
      created_at: "2022-09-27T16:04:13Z"
      name: sched-2
      status: ACTIVE
      schedule_policy:
        start_at: "1970-01-01T00:00:00Z"
        expression: 0 */1 * * *
      retention_period: 3600s
      snapshot_spec: {}
    - id: fc8bplhqmh2b********
      folder_id: b8gauskl78li********
      created_at: "2022-10-03T13:28:01Z"
      name: sched-3
      description: Daily
      labels:
        machine: file-server
      status: ACTIVE
      schedule_policy:
        start_at: "2022-12-31T19:04:05Z"
        expression: 10 19 ? * *
      snapshot_count: "7"
      snapshot_spec: {}
    
  3. Enable the selected schedule:

    yc compute snapshot-schedule enable <schedule_name_or_ID>
    

    Result:

    done (3s)
    id: fc8e52mvchb2********
    folder_id: e1ea8s8l71li********
    created_at: "2022-09-28T09:15:28Z"
    name: sched-1
    status: ACTIVE
    schedule_policy:
      start_at: "1970-01-01T00:00:00Z"
      expression: 36 14 */1 * *
    snapshot_count: "3"
    snapshot_spec: {}
    
  1. Get a list of schedules using the list REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/List gRPC API call.
  2. Enable the snapshot schedule using the enable REST API method for the SnapshotSchedule resource or the SnapshotScheduleService/Enable gRPC API call.

The schedule status will change to ACTIVE: new disk snapshots will be created and old ones deleted (if the relevant snapshot retention option is selected).

What's nextWhat's next

  • Updating a disk snapshot schedule
  • Deleting a disk snapshot schedule

Was the article helpful?

Previous
Changing a snapshot schedule
Next
Encrypting an image
© 2025 Direct Cursus Technology L.L.C.