Skip to main content

Module backup

Module backup 

Source
Expand description

Cloudflare R2 backup for the Innate knowledge database.

Uses S3-compatible API with AWS Signature V4. R2 endpoint: https://{account_id}.r2.cloudflarestorage.com Region for signing: “auto”

Structs§

BackupInfo
BackupResult
BackupState
PruneResult
R2BackupService

Functions§

maybe_auto_backup
Run a backup if the configured interval has elapsed since the last backup. Returns true if a backup was performed.