Skip to content

services

This page is generated from the same Go declarations the loader enforces, so it cannot drift from what ob validate accepts.

allow_backup_interruption · cpus · cron · driver · maximum_data_loss · memory · minimum_generations · mode · persistence · proof_maximum_age · protection · recovery_kind · recovery_window · resources · restore_drill · retention · schedule · settings · staging_filesystem · target · timezone · version · volumes

FieldTypeDefaultWhat it does
<name>.driverstringBuilt-in service driver. Defaults to the service map key. Expects lower-case letters, digits and hyphens, starting with a letter, at most 40 characters.
<name>.persistenceobjectData-lifetime declaration for this supporting service.
<name>.persistence.modedurable · ephemeral · externaldurableData lifetime: durable, ephemeral, or external.
<name>.protectionobjectRecovery intent for this service. Onebox selects the qualified native implementation; declaring intent alone does not establish protection.
<name>.protection.allow_backup_interruptionbooleanfalseWhether recurring backup operations may use the driver-declared stopped-service window.
<name>.protection.maximum_data_lossstringMaximum tolerable interval between the latest recoverable point and failure. Expects a duration such as 30s, 5m, 1h30m or 14d.
<name>.protection.recovery_kindsnapshot · pitr · coldRequired recovery envelope: snapshot, pitr, or cold.
<name>.protection.restore_drillobjectExact isolated restore-test schedule, proof age, and optional staging filesystem.
<name>.protection.restore_drill.proof_maximum_agestring7dMaximum age of the latest passing restore proof. Expects a duration such as 30s, 5m, 1h30m or 14d.
<name>.protection.restore_drill.scheduleobjectExact recurring isolated restore-test schedule.
<name>.protection.restore_drill.schedule.cronstringFive-field cron schedule translated to a host timer. Expects five cron fields.
<name>.protection.restore_drill.schedule.timezonestringUTCIANA timezone used to interpret the cron schedule. Expects an IANA zone name such as UTC or Europe/Berlin.
<name>.protection.restore_drill.staging_filesystemstringAbsolute filesystem path used for isolated restore materialization instead of the host default. Expects an absolute path with no control character or shell metacharacter.
<name>.protection.retentionobjectPortable minimum recovery history that the selected native driver must be able to preserve.
<name>.protection.retention.minimum_generationsinteger7Minimum number of independently recoverable base generations to retain.
<name>.protection.retention.recovery_windowstring7dMinimum continuous recovery history the native retention mapping must preserve. Expects a duration such as 30s, 5m, 1h30m or 14d.
<name>.protection.scheduleobjectExact recurring base-backup schedule.
<name>.protection.schedule.cronstringFive-field cron schedule translated to a host timer. Expects five cron fields.
<name>.protection.schedule.timezonestringUTCIANA timezone used to interpret the cron schedule. Expects an IANA zone name such as UTC or Europe/Berlin.
<name>.protection.targetstringName of a project-level backup target. Expects lower-case letters, digits and hyphens, starting with a letter, at most 40 characters.
<name>.resourcesobjectMemory and CPU limits for this supporting service.
<name>.resources.cpusstringContainer CPU limit expressed as a positive decimal count. Expects a number of CPUs such as 0.5 or 2.
<name>.resources.memorystringContainer memory limit. Expects a size such as 512MB or 1.5GB.
<name>.settingsmapDriver-specific settings validated by the selected service driver.
<name>.versionDriver version or image tag to run.
<name>.volumeslistAdditional driver-defined persistent volume names.