Update backup: Gitea n8n Auto Backup

This commit is contained in:
2026-06-07 04:00:21 +00:00
parent 8125539782
commit fc5af4bc2e
+135 -99
View File
@@ -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", "createdAt": "2026-06-05T14:36:49.343Z",
"id": "jtJGuwijffvHznH2", "id": "jtJGuwijffvHznH2",
"name": "Gitea n8n Auto Backup", "name": "Gitea n8n Auto Backup",
@@ -18,26 +18,6 @@
"id": "8b02b163-b1b9-4715-a426-3c07f15afd96", "id": "8b02b163-b1b9-4715-a426-3c07f15afd96",
"name": "Manual - Ejecutar respaldo ahora" "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": { "parameters": {
"assignments": { "assignments": {
@@ -388,6 +368,23 @@
], ],
"id": "20864b61-de27-46fb-a4c0-175269061f31", "id": "20864b61-de27-46fb-a4c0-175269061f31",
"name": "Sticky Note2" "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": { "connections": {
@@ -402,17 +399,6 @@
] ]
] ]
}, },
"Schedule - Revisar publicados cada 1 min": {
"main": [
[
{
"node": "Config",
"type": "main",
"index": 0
}
]
]
},
"Config": { "Config": {
"main": [ "main": [
[ [
@@ -570,6 +556,17 @@
} }
] ]
] ]
},
"Schedule - Revisar publicados cada día": {
"main": [
[
{
"node": "Config",
"type": "main",
"index": 0
}
]
]
} }
}, },
"settings": { "settings": {
@@ -586,8 +583,8 @@
"name": "TEST - Telegram - Propuestas Ejecutadas", "name": "TEST - Telegram - Propuestas Ejecutadas",
"repo_name": "test-telegram-propuestas-ejecutadas", "repo_name": "test-telegram-propuestas-ejecutadas",
"file_path": "test-telegram-propuestas-ejecutadas.json", "file_path": "test-telegram-propuestas-ejecutadas.json",
"updatedAt": "2026-06-04T01:50:49.282Z", "updatedAt": "2026-06-05T23:00:48.503Z",
"backedUpAt": "2026-06-05T14:47:19.027Z" "backedUpAt": "2026-06-05T23:01:18.885Z"
}, },
"8jCi4gPc5kfHZvk2": { "8jCi4gPc5kfHZvk2": {
"name": "Cruce de Cuentas - GLM", "name": "Cruce de Cuentas - GLM",
@@ -635,15 +632,15 @@
"name": "Tablero CDC - Sync Proyecto a Sheet WEBHOOK", "name": "Tablero CDC - Sync Proyecto a Sheet WEBHOOK",
"repo_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", "file_path": "tablero-cdc-sync-proyecto-a-sheet-webhook.json",
"updatedAt": "2026-06-04T00:43:22.749Z", "updatedAt": "2026-06-05T17:52:49.771Z",
"backedUpAt": "2026-06-05T14:47:27.450Z" "backedUpAt": "2026-06-05T17:53:18.369Z"
}, },
"jtJGuwijffvHznH2": { "jtJGuwijffvHznH2": {
"name": "Gitea n8n Auto Backup", "name": "Gitea n8n Auto Backup",
"repo_name": "gitea-n8n-auto-backup", "repo_name": "gitea-n8n-auto-backup",
"file_path": "gitea-n8n-auto-backup.json", "file_path": "gitea-n8n-auto-backup.json",
"updatedAt": "2026-06-05T14:55:13.254Z", "updatedAt": "2026-06-05T14:55:36.632Z",
"backedUpAt": "2026-06-05T14:55:18.486Z" "backedUpAt": "2026-06-05T14:56:18.241Z"
}, },
"puF4LUczoSz3hcek": { "puF4LUczoSz3hcek": {
"name": "Reportar Error - Isaac", "name": "Reportar Error - Isaac",
@@ -658,14 +655,24 @@
"file_path": "chat-de-whatsapp-de-propuestas-ejecutadas.json", "file_path": "chat-de-whatsapp-de-propuestas-ejecutadas.json",
"updatedAt": "2026-06-04T00:42:33.818Z", "updatedAt": "2026-06-04T00:42:33.818Z",
"backedUpAt": "2026-06-05T14:47:30.527Z" "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, "meta": null,
"versionId": "b10fd5ab-7216-4cb9-89fd-42af102e3791", "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292",
"activeVersionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", "activeVersionId": "404a6743-d41a-471f-a4ee-aa30874ee292",
"versionCounter": 71, "versionCounter": 742,
"triggerCount": 1, "triggerCount": 1,
"shared": [ "shared": [
{ {
@@ -688,9 +695,9 @@
], ],
"tags": [], "tags": [],
"activeVersion": { "activeVersion": {
"updatedAt": "2026-06-05T14:50:23.000Z", "updatedAt": "2026-06-06T14:26:07.000Z",
"createdAt": "2026-06-05T14:50:11.849Z", "createdAt": "2026-06-06T14:25:56.713Z",
"versionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292",
"workflowId": "jtJGuwijffvHznH2", "workflowId": "jtJGuwijffvHznH2",
"nodes": [ "nodes": [
{ {
@@ -698,32 +705,12 @@
"type": "n8n-nodes-base.manualTrigger", "type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
0, -16,
336 416
], ],
"id": "8b02b163-b1b9-4715-a426-3c07f15afd96", "id": "8b02b163-b1b9-4715-a426-3c07f15afd96",
"name": "Manual - Ejecutar respaldo ahora" "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": { "parameters": {
"assignments": { "assignments": {
@@ -789,8 +776,8 @@
"type": "n8n-nodes-base.set", "type": "n8n-nodes-base.set",
"typeVersion": 3.4, "typeVersion": 3.4,
"position": [ "position": [
272, 256,
432 512
], ],
"id": "fb75c274-8db3-4ad3-8903-74f2dbcc99ec", "id": "fb75c274-8db3-4ad3-8903-74f2dbcc99ec",
"name": "Config" "name": "Config"
@@ -805,8 +792,8 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
528, 512,
432 512
], ],
"id": "13b905b8-ffa8-4020-a02f-b5db5d78d99b", "id": "13b905b8-ffa8-4020-a02f-b5db5d78d99b",
"name": "n8n - Listar workflows", "name": "n8n - Listar workflows",
@@ -824,8 +811,8 @@
"type": "n8n-nodes-base.code", "type": "n8n-nodes-base.code",
"typeVersion": 2, "typeVersion": 2,
"position": [ "position": [
784, 768,
432 512
], ],
"id": "bb3bd9fe-8c31-43bf-8ed2-988e9df69c8a", "id": "bb3bd9fe-8c31-43bf-8ed2-988e9df69c8a",
"name": "Filtrar workflows nuevos o modificados" "name": "Filtrar workflows nuevos o modificados"
@@ -840,8 +827,8 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
1040, 1024,
432 512
], ],
"id": "2425a188-773c-4776-9e05-8b7d1af59c2b", "id": "2425a188-773c-4776-9e05-8b7d1af59c2b",
"name": "n8n - Obtener workflow completo", "name": "n8n - Obtener workflow completo",
@@ -860,7 +847,7 @@
"type": "n8n-nodes-base.code", "type": "n8n-nodes-base.code",
"typeVersion": 2, "typeVersion": 2,
"position": [ "position": [
1328, 1344,
432 432
], ],
"id": "75ce5ba0-c1ea-4a22-8e15-648d82e6e827", "id": "75ce5ba0-c1ea-4a22-8e15-648d82e6e827",
@@ -876,7 +863,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
1952, 1968,
432 432
], ],
"id": "a221abfd-0ce0-4c7c-86eb-f9e9314f940d", "id": "a221abfd-0ce0-4c7c-86eb-f9e9314f940d",
@@ -903,7 +890,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
2208, 2224,
624 624
], ],
"id": "26e851db-95d6-4756-852c-ffa29bf9ed0a", "id": "26e851db-95d6-4756-852c-ffa29bf9ed0a",
@@ -925,7 +912,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
2464, 2480,
432 432
], ],
"id": "bed90785-6c35-4d38-8942-f644fa8b655b", "id": "bed90785-6c35-4d38-8942-f644fa8b655b",
@@ -952,7 +939,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
2752, 2768,
320 320
], ],
"id": "fac285a6-2e37-4043-8127-d534c78aa607", "id": "fac285a6-2e37-4043-8127-d534c78aa607",
@@ -978,7 +965,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
2752, 2768,
624 624
], ],
"id": "a76819e9-ba84-40d9-8799-ffe86cf0f53f", "id": "a76819e9-ba84-40d9-8799-ffe86cf0f53f",
@@ -998,7 +985,7 @@
"type": "n8n-nodes-base.code", "type": "n8n-nodes-base.code",
"typeVersion": 2, "typeVersion": 2,
"position": [ "position": [
3024, 3040,
464 464
], ],
"id": "6b48a9df-89ef-4a8a-a6ff-2c7cfa789b51", "id": "6b48a9df-89ef-4a8a-a6ff-2c7cfa789b51",
@@ -1011,7 +998,7 @@
"type": "n8n-nodes-base.splitInBatches", "type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3, "typeVersion": 3,
"position": [ "position": [
1680, 1696,
432 432
], ],
"id": "1e618c0d-2b6d-4f69-9b63-300c222004e8", "id": "1e618c0d-2b6d-4f69-9b63-300c222004e8",
@@ -1031,7 +1018,7 @@
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4, "typeVersion": 4.4,
"position": [ "position": [
2208, 2224,
336 336
], ],
"id": "bcaa9c9b-bd82-4dc9-aa6f-e8b4391d26a8", "id": "bcaa9c9b-bd82-4dc9-aa6f-e8b4391d26a8",
@@ -1042,6 +1029,55 @@
"name": "Header Auth account" "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": { "connections": {
@@ -1056,17 +1092,6 @@
] ]
] ]
}, },
"Schedule - Revisar publicados cada 1 min": {
"main": [
[
{
"node": "Config",
"type": "main",
"index": 0
}
]
]
},
"Config": { "Config": {
"main": [ "main": [
[ [
@@ -1224,18 +1249,29 @@
} }
] ]
] ]
},
"Schedule - Revisar publicados cada día": {
"main": [
[
{
"node": "Config",
"type": "main",
"index": 0
}
]
]
} }
}, },
"authors": "Isaac Aracena", "authors": "Isaac Aracena",
"name": "Version 6fea1c4a", "name": "Gitea n8n Auto Backup",
"description": "", "description": "",
"autosaved": true, "autosaved": true,
"workflowPublishHistory": [ "workflowPublishHistory": [
{ {
"createdAt": "2026-06-05T14:50:23.264Z", "createdAt": "2026-06-06T14:26:07.328Z",
"id": 1149, "id": 1183,
"workflowId": "jtJGuwijffvHznH2", "workflowId": "jtJGuwijffvHznH2",
"versionId": "6fea1c4a-860c-43b6-ab05-52a901c0523b", "versionId": "404a6743-d41a-471f-a4ee-aa30874ee292",
"event": "activated", "event": "activated",
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029" "userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
} }