From fc5af4bc2e6558b2b6514aa6aeb6b8170c36b542 Mon Sep 17 00:00:00 2001 From: Isaac_Aracena Date: Sun, 7 Jun 2026 04:00:21 +0000 Subject: [PATCH] Update backup: Gitea n8n Auto Backup --- gitea-n8n-auto-backup.json | 232 +++++++++++++++++++++---------------- 1 file changed, 134 insertions(+), 98 deletions(-) diff --git a/gitea-n8n-auto-backup.json b/gitea-n8n-auto-backup.json index d307e2b..8dd8c49 100644 --- a/gitea-n8n-auto-backup.json +++ b/gitea-n8n-auto-backup.json @@ -1,5 +1,5 @@ { - "updatedAt": "2026-06-05T14:55:36.632Z", + "updatedAt": "2026-06-06T14:25:57.107Z", "createdAt": "2026-06-05T14:36:49.343Z", "id": "jtJGuwijffvHznH2", "name": "Gitea n8n Auto Backup", @@ -18,26 +18,6 @@ "id": "8b02b163-b1b9-4715-a426-3c07f15afd96", "name": "Manual - Ejecutar respaldo ahora" }, - { - "parameters": { - "rule": { - "interval": [ - { - "field": "minutes", - "minutesInterval": 1 - } - ] - } - }, - "type": "n8n-nodes-base.scheduleTrigger", - "typeVersion": 1.2, - "position": [ - -16, - 640 - ], - "id": "b5c75588-f5a2-4e04-a567-7c98c1e20d87", - "name": "Schedule - Revisar publicados cada 1 min" - }, { "parameters": { "assignments": { @@ -388,6 +368,23 @@ ], "id": "20864b61-de27-46fb-a4c0-175269061f31", "name": "Sticky Note2" + }, + { + "parameters": { + "rule": { + "interval": [ + {} + ] + } + }, + "type": "n8n-nodes-base.scheduleTrigger", + "typeVersion": 1.2, + "position": [ + -16, + 640 + ], + "id": "b5c75588-f5a2-4e04-a567-7c98c1e20d87", + "name": "Schedule - Revisar publicados cada día" } ], "connections": { @@ -402,17 +399,6 @@ ] ] }, - "Schedule - Revisar publicados cada 1 min": { - "main": [ - [ - { - "node": "Config", - "type": "main", - "index": 0 - } - ] - ] - }, "Config": { "main": [ [ @@ -570,6 +556,17 @@ } ] ] + }, + "Schedule - Revisar publicados cada día": { + "main": [ + [ + { + "node": "Config", + "type": "main", + "index": 0 + } + ] + ] } }, "settings": { @@ -586,8 +583,8 @@ "name": "TEST - Telegram - Propuestas Ejecutadas", "repo_name": "test-telegram-propuestas-ejecutadas", "file_path": "test-telegram-propuestas-ejecutadas.json", - "updatedAt": "2026-06-04T01:50:49.282Z", - "backedUpAt": "2026-06-05T14:47:19.027Z" + "updatedAt": "2026-06-05T23:00:48.503Z", + "backedUpAt": "2026-06-05T23:01:18.885Z" }, "8jCi4gPc5kfHZvk2": { "name": "Cruce de Cuentas - GLM", @@ -635,15 +632,15 @@ "name": "Tablero CDC - Sync Proyecto a Sheet WEBHOOK", "repo_name": "tablero-cdc-sync-proyecto-a-sheet-webhook", "file_path": "tablero-cdc-sync-proyecto-a-sheet-webhook.json", - "updatedAt": "2026-06-04T00:43:22.749Z", - "backedUpAt": "2026-06-05T14:47:27.450Z" + "updatedAt": "2026-06-05T17:52:49.771Z", + "backedUpAt": "2026-06-05T17:53:18.369Z" }, "jtJGuwijffvHznH2": { "name": "Gitea n8n Auto Backup", "repo_name": "gitea-n8n-auto-backup", "file_path": "gitea-n8n-auto-backup.json", - "updatedAt": "2026-06-05T14:55:13.254Z", - "backedUpAt": "2026-06-05T14:55:18.486Z" + "updatedAt": "2026-06-05T14:55:36.632Z", + "backedUpAt": "2026-06-05T14:56:18.241Z" }, "puF4LUczoSz3hcek": { "name": "Reportar Error - Isaac", @@ -658,14 +655,24 @@ "file_path": "chat-de-whatsapp-de-propuestas-ejecutadas.json", "updatedAt": "2026-06-04T00:42:33.818Z", "backedUpAt": "2026-06-05T14:47:30.527Z" + }, + "l8koc0x9iIFqKn7P": { + "name": "Nomina Panama V2", + "repo_name": "nomina-panama-v2", + "file_path": "nomina-panama-v2.json", + "updatedAt": "2026-06-05T19:23:24.939Z", + "backedUpAt": "2026-06-05T19:24:18.867Z" } } + }, + "node:Schedule - Revisar publicados cada día": { + "recurrenceRules": [] } }, "meta": null, - "versionId": "b10fd5ab-7216-4cb9-89fd-42af102e3791", - "activeVersionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", - "versionCounter": 71, + "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292", + "activeVersionId": "404a6743-d41a-471f-a4ee-aa30874ee292", + "versionCounter": 742, "triggerCount": 1, "shared": [ { @@ -688,9 +695,9 @@ ], "tags": [], "activeVersion": { - "updatedAt": "2026-06-05T14:50:23.000Z", - "createdAt": "2026-06-05T14:50:11.849Z", - "versionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", + "updatedAt": "2026-06-06T14:26:07.000Z", + "createdAt": "2026-06-06T14:25:56.713Z", + "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292", "workflowId": "jtJGuwijffvHznH2", "nodes": [ { @@ -698,32 +705,12 @@ "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ - 0, - 336 + -16, + 416 ], "id": "8b02b163-b1b9-4715-a426-3c07f15afd96", "name": "Manual - Ejecutar respaldo ahora" }, - { - "parameters": { - "rule": { - "interval": [ - { - "field": "minutes", - "minutesInterval": 1 - } - ] - } - }, - "type": "n8n-nodes-base.scheduleTrigger", - "typeVersion": 1.2, - "position": [ - 0, - 560 - ], - "id": "b5c75588-f5a2-4e04-a567-7c98c1e20d87", - "name": "Schedule - Revisar publicados cada 1 min" - }, { "parameters": { "assignments": { @@ -789,8 +776,8 @@ "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ - 272, - 432 + 256, + 512 ], "id": "fb75c274-8db3-4ad3-8903-74f2dbcc99ec", "name": "Config" @@ -805,8 +792,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 528, - 432 + 512, + 512 ], "id": "13b905b8-ffa8-4020-a02f-b5db5d78d99b", "name": "n8n - Listar workflows", @@ -824,8 +811,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 784, - 432 + 768, + 512 ], "id": "bb3bd9fe-8c31-43bf-8ed2-988e9df69c8a", "name": "Filtrar workflows nuevos o modificados" @@ -840,8 +827,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 1040, - 432 + 1024, + 512 ], "id": "2425a188-773c-4776-9e05-8b7d1af59c2b", "name": "n8n - Obtener workflow completo", @@ -860,7 +847,7 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 1328, + 1344, 432 ], "id": "75ce5ba0-c1ea-4a22-8e15-648d82e6e827", @@ -876,7 +863,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 1952, + 1968, 432 ], "id": "a221abfd-0ce0-4c7c-86eb-f9e9314f940d", @@ -903,7 +890,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2208, + 2224, 624 ], "id": "26e851db-95d6-4756-852c-ffa29bf9ed0a", @@ -925,7 +912,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2464, + 2480, 432 ], "id": "bed90785-6c35-4d38-8942-f644fa8b655b", @@ -952,7 +939,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2752, + 2768, 320 ], "id": "fac285a6-2e37-4043-8127-d534c78aa607", @@ -978,7 +965,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2752, + 2768, 624 ], "id": "a76819e9-ba84-40d9-8799-ffe86cf0f53f", @@ -998,7 +985,7 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 3024, + 3040, 464 ], "id": "6b48a9df-89ef-4a8a-a6ff-2c7cfa789b51", @@ -1011,7 +998,7 @@ "type": "n8n-nodes-base.splitInBatches", "typeVersion": 3, "position": [ - 1680, + 1696, 432 ], "id": "1e618c0d-2b6d-4f69-9b63-300c222004e8", @@ -1031,7 +1018,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2208, + 2224, 336 ], "id": "bcaa9c9b-bd82-4dc9-aa6f-e8b4391d26a8", @@ -1042,6 +1029,55 @@ "name": "Header Auth account" } } + }, + { + "parameters": { + "content": "## ✅ Backup automático y ⚙️ Configuración\n\nEste workflow revisa n8n cada 1 minuto.\n\nSi un workflow publicado es nuevo o cambió, crea o actualiza su repo en Gitea.\n\n\nEn Config ajustar:\n\n- n8n_base_url\n- gitea_base_url\n- gitea_owner\n- force_full_backup = false\n\nCredenciales:\nn8n → X-N8N-API-KEY\nGitea → Authorization: token", + "height": 736, + "width": 1264, + "color": 6 + }, + "type": "n8n-nodes-base.stickyNote", + "typeVersion": 1, + "position": [ + -64, + 80 + ], + "id": "3be54cf0-4c34-4678-ab3e-b6c8ddce9af1", + "name": "Sticky Note" + }, + { + "parameters": { + "content": "## 🌍 Repos públicos\n\nLos repos nuevos se crean públicos.\n\nSi el repo ya existe, se asegura como público y luego actualiza el archivo .json.", + "height": 736, + "width": 1936, + "color": 4 + }, + "type": "n8n-nodes-base.stickyNote", + "typeVersion": 1, + "position": [ + 1296, + 80 + ], + "id": "20864b61-de27-46fb-a4c0-175269061f31", + "name": "Sticky Note2" + }, + { + "parameters": { + "rule": { + "interval": [ + {} + ] + } + }, + "type": "n8n-nodes-base.scheduleTrigger", + "typeVersion": 1.2, + "position": [ + -16, + 640 + ], + "id": "b5c75588-f5a2-4e04-a567-7c98c1e20d87", + "name": "Schedule - Revisar publicados cada día" } ], "connections": { @@ -1056,17 +1092,6 @@ ] ] }, - "Schedule - Revisar publicados cada 1 min": { - "main": [ - [ - { - "node": "Config", - "type": "main", - "index": 0 - } - ] - ] - }, "Config": { "main": [ [ @@ -1224,18 +1249,29 @@ } ] ] + }, + "Schedule - Revisar publicados cada día": { + "main": [ + [ + { + "node": "Config", + "type": "main", + "index": 0 + } + ] + ] } }, "authors": "Isaac Aracena", - "name": "Version 6fea1c4a", + "name": "Gitea n8n Auto Backup", "description": "", "autosaved": true, "workflowPublishHistory": [ { - "createdAt": "2026-06-05T14:50:23.264Z", - "id": 1149, + "createdAt": "2026-06-06T14:26:07.328Z", + "id": 1183, "workflowId": "jtJGuwijffvHznH2", - "versionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", + "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292", "event": "activated", "userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029" }