Backup and Restore Tutorial
This tutorial verifies backup/restore using S3-compatible storage.
Step 1: Configure backup in install wizard
In install step 1:
- enable backups
- set schedule
- set provider and S3 fields (
endpoint,bucket,region,prefix) - select access key and secret key secrets if using ExternalSecrets
Step 2: Confirm CronJob
kubectl get cronjobs -n claw-machineStep 3: Trigger a manual run
kubectl create job --from=cronjob/<bot-name>-backup <bot-name>-backup-manual -n claw-machineStep 4: Validate restore path
Recreate the bot with same backup config. Restore init container attempts to read latest.tar.gz or latest.sql.gz.
If no latest object exists, restore exits cleanly and bot starts fresh.