{"definition_raw":"---\nid: hermes-state-backup\ntitle: Backup Hermes Agent state and config\nschedule: \"0 2 * * *\"\ntimeout: 120\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"mkdir -p ~/workspace/backups/hermes/$(date +%Y-%m-%d) && cp -r ~/.hermes/config ~/.hermes/skills ~/.hermes/memory ~/.hermes/logs ~/workspace/backups/hermes/$(date +%Y-%m-%d)/ 2>/dev/null || true && find ~/workspace/backups/hermes -maxdepth 1 -type d -mtime +14 -exec rm -rf {} + 2>/dev/null || true\"\ntags: [hermes, backup, infrastructure]\nruntime_profile: direct\n---\n\nDaily backup of critical Hermes Agent state:\n- config.yaml and related config\n- skills directory\n- memory stores\n- recent logs\n\nKeeps 14 days of history. Runs at 02:00 SAST so it doesn't overlap with other morning jobs.\nSafe to run even if Hermes is active (uses copies).","id":"hermes-state-backup","last_run":{"duration_s":0.728324,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/413130.log","output":"","started_at":"2026-06-13T02:00:22.804307+02:00","status":"completed"},"next_run":"2026-06-14 02:00","next_run_iso":"2026-06-14T02:00:00+02:00","runs":[{"duration_s":0.728324,"finished_at":"2026-06-13T02:00:23.535704+02:00","id":413130,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/413130.log","output":"","started_at":"2026-06-13T02:00:22.804307+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.606582,"finished_at":"2026-06-12T02:00:19.354984+02:00","id":408965,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/408965.log","output":"","started_at":"2026-06-12T02:00:18.744127+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.714323,"finished_at":"2026-06-11T02:00:18.929306+02:00","id":404610,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/404610.log","output":"","started_at":"2026-06-11T02:00:18.211759+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.598999,"finished_at":"2026-06-10T02:00:18.690956+02:00","id":400336,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/400336.log","output":"","started_at":"2026-06-10T02:00:18.088751+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.643219,"finished_at":"2026-06-09T02:00:19.234518+02:00","id":396093,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/396093.log","output":"","started_at":"2026-06-09T02:00:18.588248+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.553338,"finished_at":"2026-06-08T02:00:16.365019+02:00","id":392009,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/392009.log","output":"","started_at":"2026-06-08T02:00:15.808262+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.253372,"finished_at":"2026-06-07T02:00:18.000243+02:00","id":387566,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/387566.log","output":"","started_at":"2026-06-07T02:00:17.744236+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"},{"duration_s":0.540717,"finished_at":"2026-06-06T02:00:18.067412+02:00","id":382844,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-state-backup/382844.log","output":"","started_at":"2026-06-06T02:00:17.523515+02:00","status":"completed","task_id":"hermes-state-backup","task_name":"Backup Hermes Agent state and config"}],"runs_limit":20,"schedule":"0 2 * * *","schedule_label":{"description":"Daily at 02:00","is_custom":false,"label":"Daily","sort":4,"sort_time":"02:00"},"stats":{"avg_duration":0.5798592499999999,"completed":8,"failed":0,"timeout":0,"total":8},"task":{"_description":"Daily backup of critical Hermes Agent state:\n- config.yaml and related config\n- skills directory\n- memory stores\n- recent logs\n\nKeeps 14 days of history. Runs at 02:00 SAST so it doesn't overlap with other morning jobs.\nSafe to run even if Hermes is active (uses copies).","_file":"hermes-state-backup.md","_path":"/home/lucienne/workspace/tasks/hermes-state-backup.md","command":"mkdir -p ~/workspace/backups/hermes/$(date +%Y-%m-%d) && cp -r ~/.hermes/config ~/.hermes/skills ~/.hermes/memory ~/.hermes/logs ~/workspace/backups/hermes/$(date +%Y-%m-%d)/ 2>/dev/null || true && find ~/workspace/backups/hermes -maxdepth 1 -type d -mtime +14 -exec rm -rf {} + 2>/dev/null || true","enabled":true,"id":"hermes-state-backup","notify_on":"failure","retry":false,"run_as":"shell","runtime_profile":"direct","schedule":"0 2 * * *","tags":["hermes","backup","infrastructure"],"timeout":120,"title":"Backup Hermes Agent state and config"}}
