[A04.P006] Integración de Backups DASUTEN en bkps.rb
Implementada integración del pipeline de backups DASUTEN dentro del sistema unificado de bkps.rb siguiendo el principio "Menos es Más". Cambios realizados: - Nuevo procesador: adn/tools/bkps/lib/proc_dasuten.rb - Mapea tareas a drones atómicos existentes - Ejecuta vía dron lanzar con bitácora automática - bkps.yml: T8-T15 (tareas) + C7-C8 (comandos) - dasuten_export_full/dif (exportar) - dasuten_transferir/upload/download (transitar) - dasuten_restaurar_full/dif (restaurar) - dasuten_verificar (integridad) - Documentación actualizada: - A04.P006_Backups-DASUTEN.md (nuevo plan) - A04_dtic-DASUTEN.md (plan agregado) - A03_dtic-BKPs.md (comandos DASUTEN) - IA.md (lección aprendida) Comandos disponibles: ./adn/tools/run bkps run dasuten_full # Semanal (~35-40 min) ./adn/tools/run bkps run dasuten_diferencial # Diario (~5-10 min) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
fe3dcec7e9
commit
358cee8e9a
@@ -52,6 +52,63 @@ tareas:
|
||||
eliminar_origen: false
|
||||
sobrescribir: false
|
||||
|
||||
- id: update_linux_nodes
|
||||
texto: "🐧 Actualizar nodos Linux (apt update/upgrade)"
|
||||
tipo: linux
|
||||
origen: "todos"
|
||||
destino: "todos"
|
||||
eliminar_origen: false
|
||||
sobrescribir: false
|
||||
|
||||
# ─── DASUTEN Pipeline ───────────────────────────────────
|
||||
- id: dasuten_export_full
|
||||
texto: "📤 Exportar backup COMPLETO DASUTEN (srvv-fenix)"
|
||||
tipo: dasuten
|
||||
modo: full
|
||||
nodo: srvv-fenix
|
||||
|
||||
- id: dasuten_export_dif
|
||||
texto: "📤 Exportar backup DIFERENCIAL DASUTEN (srvv-fenix)"
|
||||
tipo: dasuten
|
||||
modo: differential
|
||||
nodo: srvv-fenix
|
||||
|
||||
- id: dasuten_transferir
|
||||
texto: "🔄 Transferir SMB (fenix → ns8)"
|
||||
tipo: dasuten
|
||||
paso: transferir
|
||||
nodo: srv-ns8
|
||||
|
||||
- id: dasuten_upload
|
||||
texto: "☁️ Upload a Google Drive (ns8)"
|
||||
tipo: dasuten
|
||||
paso: upload
|
||||
nodo: srv-ns8
|
||||
|
||||
- id: dasuten_download
|
||||
texto: "📥 Download desde Google Drive (dasu-sql4)"
|
||||
tipo: dasuten
|
||||
paso: download
|
||||
nodo: dasu-sql4
|
||||
|
||||
- id: dasuten_restaurar_full
|
||||
texto: "💾 Restaurar backup COMPLETO (dasu-sql4)"
|
||||
tipo: dasuten
|
||||
modo: restore_full
|
||||
nodo: dasu-sql4
|
||||
|
||||
- id: dasuten_restaurar_dif
|
||||
texto: "💾 Restaurar backup DIFERENCIAL (dasu-sql4)"
|
||||
tipo: dasuten
|
||||
modo: restore_dif
|
||||
nodo: dasu-sql4
|
||||
|
||||
- id: dasuten_verificar
|
||||
texto: "✅ Verificar integridad BD (dasu-sql4)"
|
||||
tipo: dasuten
|
||||
paso: verificar
|
||||
nodo: dasu-sql4
|
||||
|
||||
comandos:
|
||||
- id: descargar_y_procesar_pmox
|
||||
texto: "📥⚙️ Descargar y Procesar BKPs de PMOXs"
|
||||
@@ -74,6 +131,19 @@ comandos:
|
||||
tareas: [proc_syncXen1, proc_syncPmox, sync_BkpsSERVIDORes_nube, sync_BkpAntiguos_nube, sync_BkpUsers_nube]
|
||||
post_sanear: true
|
||||
|
||||
- id: update_linux
|
||||
texto: "🐧 Actualizar Nodos Linux"
|
||||
tareas: [update_linux_nodes]
|
||||
|
||||
# ─── Comandos DASUTEN ───────────────────────────────────
|
||||
- id: dasuten_full
|
||||
texto: "🔄 Pipeline COMPLETO DASUTEN (semanal)"
|
||||
tareas: [dasuten_export_full, dasuten_transferir, dasuten_upload, dasuten_download, dasuten_restaurar_full, dasuten_verificar]
|
||||
|
||||
- id: dasuten_diferencial
|
||||
texto: "🔄 Pipeline DIFERENCIAL DASUTEN (diario)"
|
||||
tareas: [dasuten_export_dif, dasuten_transferir, dasuten_upload, dasuten_download, dasuten_restaurar_dif, dasuten_verificar]
|
||||
|
||||
# ─── Retención (3 tiers) ───────────────────────────────────
|
||||
retencion:
|
||||
dias_default: 6
|
||||
|
||||
Reference in New Issue
Block a user