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.
 
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: restic-check
spec:
  interval: 30
  restic:
    - repository: s3:http://minio.minio:9000/restic-canary-checker
      name: restic check
      password:
        valueFrom:
          secretKeyRef:
            name: restic-credentials
            key: PASSWORD
      maxAge: 1h
      accessKey:
        valueFrom:
          secretKeyRef:
            name: restic-credentials
            key: ACCESS_KEY_ID
      secretKey:
        valueFrom:
          secretKeyRef:
            name: restic-credentials
            key: SECRET_ACCESS_KEY
| Field | Description | Scheme | Required | 
|---|---|---|---|
accessKey | 
AccessKey access key id for connection with aws s3, minio, wasabi, alibaba oss | kommons.EnvVar | |
caCert | 
CaCert path to the root cert. In case of self-signed certificates | string | |
checkIntegrity | 
CheckIntegrity when enabled will check the Integrity and consistency of the restic reposiotry | bool | |
description | 
Description for the check | string | |
icon | 
Icon for overwriting default icon on the dashboard | string | |
maxAge | 
MaxAge for backup freshness | string | Yes | 
name | 
Name of the check | string | |
password | 
Password for the restic repository | *kommons.EnvVar | Yes | 
repository | 
Repository The restic repository path eg: rest:https://user:pass@host:8000/ or rest:https://host:8000/ or s3:s3.amazonaws.com/bucket_name | string | Yes | 
secretKey | 
SecretKey secret access key for connection with aws s3, minio, wasabi, alibaba oss | *kommons.EnvVar |