Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

QdrantBackupSchedule

qdrantbackupschedules.qdrant.io, short name qbs, namespaced. Backups on a cron schedule with retention.

Spec

FieldDefaultDescription
schedulerequiredFive-field cron expression, UTC
clusterRef, storage, collectionsas on QdrantBackupCopied into each backup
suspendfalseStop creating backups; retention continues
concurrencyPolicyForbidAllow, Forbid or Replace
startingDeadlineSecondsunsetSkip a missed slot older than this
retentionPolicy.keepLastunsetKeep the N newest finished backups
retentionPolicy.keepDailyunsetKeep the newest per day for N days
retentionPolicy.keepWeeklyunsetKeep the newest per ISO week for N weeks
retentionPolicy.keepMonthlyunsetKeep the newest per month for N months

Status

FieldMeaning
phaseActive or Suspended
lastScheduleTimeSlot the most recent backup was created for
lastBackupName, lastBackupTime, lastBackupStatusNewest finished backup, its completion time and phase
nextBackupTimeNext slot after now
activeBackupName of a backup still running
recentBackups[]Up to ten, newest first: name, creationTime, completionTime, status, size

Behavior

On create, spec update, operator start and once a minute: list the backups labelled qdrant.io/schedule=<name>, delete the finished ones the retention policy does not keep, then, unless suspended, compute the latest slot before now and create <name>-<YYYYmmdd-HHMMSS> for it when it is newer than lastScheduleTime (or the schedule's creation time) and within startingDeadlineSeconds. With Forbid, a running backup skips the slot; with Replace, it is deleted first. Created backups carry the schedule as their controller owner reference and are garbage-collected with it.

Print columns: SCHEDULE, CLUSTER, PHASE, LAST BACKUP, AGE.