Restic
The Restic check:
- Queries a Restic Repository for content
- Checks the integrity and consistency of the repository and data-blobs
- Checks for 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* | Max age for backup freshness | |
name* | Name of the check, must be unique within the canary |
|
password* | Password for the restic repository | |
repository* | The restic repository path e.g., |
|
accessKey | Access key ID for connection with AWS S3, MinIO, Wasabi, Alibaba OSS | |
awsConnectionName | AWS connection name used to derive the access key and secret key |
|
caCert | Path to the root cert for self-signed certificates |
|
checkIntegrity | When enabled, checks the integrity and consistency of the restic repository |
|
connection | Connection name used to derive restic password |
|
secretKey | Secret access key for connection with AWS S3, MinIO, Wasabi, Alibaba OSS | |
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 | |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks |