212875ed0d
- .claude/agents/fn-orquestador/SKILL.md - .claude/commands/fn_claude.md - .claude/rules/INDEX.md - .claude/rules/cpp_apps.md - .claude/rules/ids_naming.md - CHANGELOG.md - apps/dag_engine/README.md - apps/dag_engine/api.go - apps/dag_engine/dags_migrated/example.yaml - apps/dag_engine/dags_migrated/example_lineage_tracking.yaml - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
737 B
YAML
27 lines
737 B
YAML
name: fn_backup
|
|
description: Backup diario de fn_registry (registry.db + operations.db + vaults) via funcion del registry
|
|
|
|
schedule:
|
|
- "0 3 * * *"
|
|
|
|
tags: [backup, registry, daily]
|
|
|
|
env:
|
|
- BACKUP_ROOT: /home/lucas/backups/fn_registry
|
|
|
|
steps:
|
|
- name: ensure_dirs
|
|
command: mkdir -p ${BACKUP_ROOT}
|
|
|
|
- name: run_backup_all
|
|
description: "Snapshot atomico de registry.db + operations.db + vaults con retention 7/4/12"
|
|
function: backup_all_bash_pipelines
|
|
args: ["${BACKUP_ROOT}"]
|
|
continue_on:
|
|
exit_code: [4]
|
|
depends: [ensure_dirs]
|
|
|
|
- name: report_status
|
|
command: bash -c 'ls -lh ${BACKUP_ROOT}/registry/daily.0 ${BACKUP_ROOT}/operations/*/daily.0 2>/dev/null | tail -20'
|
|
depends: [run_backup_all]
|