Skip to main content

Snapshot scheduler

Overview

The snapshot scheduler automatically backs up a block storage volume on a cron schedule you configure. It prevents missed manual backups and keeps consistent recovery points. Retention is count-based: keep up to N snapshots, with the oldest deleted automatically when the count is exceeded.

Prerequisites
  • Resource.BlockStorageSnapshotScheduler.CREATE permission
  • The target block storage must already exist

Creating a scheduler

  1. Go to Block Storage > Snapshot Schedulers.
  2. Click the Create Scheduler button in the top right.
  3. Configure the following:
FieldDescription
NameIdentifier for the scheduler
Target block storageThe block storage to back up (pick a zone first; volumes in that zone are listed)
Cron expressionStandard cron syntax for the schedule (e.g. 2 4 * * * → daily at 04:02)
Maximum snapshotsNumber of snapshots to keep (1–100; older snapshots are auto-deleted when exceeded)
  1. Click Create.

Cron expressions

The standard 5-field cron syntax (minute hour day month weekday) is used. If you aren't familiar with it, validate the expression on crontab.guru first.

ExpressionMeaning
0 3 * * *Every day at 03:00
0 */6 * * *Every 6 hours
30 2 * * 1Every Monday at 02:30
0 0 1 * *The 1st of each month at midnight
0 0 28 * *The 28th of each month at midnight

Retention: maximum snapshots

The ECI snapshot scheduler keeps by count, not by age.

  • When the configured Maximum snapshots value (e.g. 7) is exceeded, the oldest snapshot is auto-deleted.
  • The allowed range is 1–100.
  • If you need an age equivalent: daily × 7 ≈ one week of history.
Balancing cost vs recovery points

A higher retention count gives you more recovery points but also more storage cost. Setting between 7 and 30 is typical, depending on workload importance.


WorkloadCronMax snapshotsResult
Always-on server0 3 * * *7About one week
ML training checkpoints0 3 * * *3Last 3 days only
Long-running project0 3 * * 14About one month
Quarterly archive0 0 1 * *4About one year

Backup strategy

The more important your data, the safer it is to layer multiple schedulers rather than try to capture everything in a single scheduler.

The 3-2-1 rule

A widely used baseline:

  • 3 copies (one original + two backups)
  • On 2 different media (ECI snapshots + external object storage, etc.)
  • 1 of them offsite (different zone, different cloud)

ECI snapshots are stored in the same zone, so if disaster recovery matters, regularly restore to block storage in another zone or copy data to object storage.

Multi-tier retention

Running schedulers with different intervals and retention counts together covers both short-term recovery and long-term retention.

TierCronMax countRange covered
Hourly0 * * * *24Last 24 hours
Daily0 3 * * *7Last 1 week
Weekly0 3 * * 04Last 1 month
Monthly0 3 1 * *12Last 1 year

If cost is a concern, skip the hourly tier and run only daily/weekly/monthly.


Managing schedulers

The Block Storage > Snapshot Schedulers list shows:

ColumnDescription
NameScheduler name
Cron expressionConfigured schedule
Target volumeThe block storage being backed up
Last runTime of the previous run
Next runTime until the next run (shows Delayed when overdue)
StatusActive / Deleted

Each row's menu offers Edit and Delete. Deleting a scheduler does not delete the snapshots it already produced (delete those separately).


Next steps