Package ai.chatur.cortex.spring.backup


package ai.chatur.cortex.spring.backup
  • Classes
    Class
    Description
    Quartz adapter around BackupRunner.
    Takes a backup of the assertions store and uploads it to S3.
    Backup auto-configuration for Cortex: a Quartz job that periodically snapshots the assertions store, and the S3 client each snapshot is uploaded through.
    Restore-on-startup auto-configuration for Cortex: downloads the most recent backup from S3 and loads it into the assertions store before the application serves traffic, so a replaced instance on a fresh volume comes up with its data.
    Registers the S3 client, switched by cortex.s3.enabled.
    Downloads the most recent backup under a key prefix and loads it into the assertions store.