Restic
The Restic check:
- Queries a Restic repository for content.
- When
checkIntegrityis true, reads a file from the latest snapshot to verify that Restic can restore data. - Checks backup freshness.
restic.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: restic-pass-withoutinegrity
spec:
schedule: "@every 5m"
restic:
- repository: s3:http://minio.minio.svc.cluster.local:9000/restic-canary-checker
name: restic check
password:
value: S0m3p@sswd
maxAge: 1h
accessKey:
value: minio
secretKey:
value: minio123
| Field | Description | Scheme |
|---|---|---|
maxAge* | Maximum age for backup freshness. The CRD requires this field even when | |
name* | Name of the check, must be unique within the canary |
|
password* | Password for the Restic repository. The CRD requires this field even when | |
repository* | Restic repository path, such as |
|
accessKey | Access key ID for AWS S3, MinIO, Wasabi, or Alibaba OSS. Current runtime requires this field unless | |
awsConnectionName | AWS connection URL that supplies the access key and secret key. |
|
caCert | Path to the root certificate for self-signed certificates. |
|
checkIntegrity | Read a file from the latest snapshot to verify that Restic can restore data. |
|
connection | Connection URL, such as |
|
secretKey | Secret access key for AWS S3, MinIO, Wasabi, or Alibaba OSS. Current runtime requires this field unless | |
dependsOn | Checks that must complete before this check runs |
|
description | Description for the check |
|
display | Expression to change the formatting of the display | |
icon | Icon for overwriting default icon on the dashboard | |
labels | Labels for check |
|
markFailOnEmpty | If a transformation or datasource returns empty results, the check should fail |
|
metrics | Metrics to export from | |
namespace | Namespace to insert the check result into when it differs from the canary namespace |
|
relationships | Relationships that link check results to components or configs | Relationship |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks | |
transformDeleteStrategy | Status to apply to transformed checks when the source check no longer returns them |
|