From 3e3b39db3e19b8e247a4f6fa22b0232be60a888b Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 27 May 2022 10:07:13 +0000 Subject: [PATCH] Auto backup (2022-05-27T10:07:13.393Z) --- flows/26.json | 141 +++++++++++--------------------------------------- 1 file changed, 30 insertions(+), 111 deletions(-) diff --git a/flows/26.json b/flows/26.json index 8c49dec..94b36a8 100755 --- a/flows/26.json +++ b/flows/26.json @@ -13,54 +13,6 @@ ], "typeVersion": 1 }, - { - "parameters": { - "command": "npx n8n export:credentials --backup --output repo/credentials/" - }, - "name": "Export Credentials", - "type": "n8n-nodes-base.executeCommand", - "position": [ - 590, - 400 - ], - "typeVersion": 1 - }, - { - "parameters": { - "command": "git -C repo add ." - }, - "name": "git add", - "type": "n8n-nodes-base.executeCommand", - "position": [ - 740, - 400 - ], - "typeVersion": 1 - }, - { - "parameters": { - "command": "=git -C repo commit -m \"Auto backup ({{ new Date().toISOString() }})\"" - }, - "name": "git commit", - "type": "n8n-nodes-base.executeCommand", - "position": [ - 900, - 340 - ], - "typeVersion": 1 - }, - { - "parameters": { - "command": "git -C repo push" - }, - "name": "git push", - "type": "n8n-nodes-base.executeCommand", - "position": [ - 1080, - 400 - ], - "typeVersion": 1 - }, { "parameters": { "triggerTimes": { @@ -92,7 +44,7 @@ "parameters": { "command": "npx n8n export:workflow --backup --output /home/node/.n8n/backup/flows/" }, - "name": "Export Workflows1", + "name": "Export Workflows", "type": "n8n-nodes-base.executeCommand", "position": [ 460, @@ -104,7 +56,7 @@ "parameters": { "command": "npx n8n export:credentials --backup --output /home/node/.n8n/backup/credentials/" }, - "name": "Export Credentials1", + "name": "Export Credentials", "type": "n8n-nodes-base.executeCommand", "position": [ 640, @@ -116,7 +68,7 @@ "parameters": { "command": "cd /home/node/.n8n/backup/ && git add ." }, - "name": "git add2", + "name": "git add", "type": "n8n-nodes-base.executeCommand", "position": [ 860, @@ -128,7 +80,7 @@ "parameters": { "command": "=cd /home/node/.n8n/backup/ && git commit -m \"Auto backup ({{ new Date().toISOString() }})\"" }, - "name": "git commit1", + "name": "git commit", "type": "n8n-nodes-base.executeCommand", "position": [ 1060, @@ -140,7 +92,7 @@ "parameters": { "command": "cd /home/node/.n8n/backup/ && git push https://nia:4159b2141ce710381857585e10f643c40ea613e3@lab.cynic.club/nia/n8n.git --all \n" }, - "name": "git push1", + "name": "git push", "type": "n8n-nodes-base.executeCommand", "position": [ 1260, @@ -154,7 +106,7 @@ "main": [ [ { - "node": "Export Workflows1", + "node": "Export Workflows", "type": "main", "index": 0 } @@ -165,7 +117,29 @@ "main": [ [ { - "node": "Export Workflows1", + "node": "Export Workflows", + "type": "main", + "index": 0 + } + ] + ] + }, + "Export Workflows": { + "main": [ + [ + { + "node": "Export Credentials", + "type": "main", + "index": 0 + } + ] + ] + }, + "Export Credentials": { + "main": [ + [ + { + "node": "git add", "type": "main", "index": 0 } @@ -193,65 +167,10 @@ } ] ] - }, - "Export Credentials": { - "main": [ - [ - { - "node": "git add", - "type": "main", - "index": 0 - } - ] - ] - }, - "Export Workflows1": { - "main": [ - [ - { - "node": "Export Credentials1", - "type": "main", - "index": 0 - } - ] - ] - }, - "Export Credentials1": { - "main": [ - [ - { - "node": "git add2", - "type": "main", - "index": 0 - } - ] - ] - }, - "git add2": { - "main": [ - [ - { - "node": "git commit1", - "type": "main", - "index": 0 - } - ] - ] - }, - "git commit1": { - "main": [ - [ - { - "node": "git push1", - "type": "main", - "index": 0 - } - ] - ] } }, "createdAt": "2022-05-26T17:20:27.486Z", - "updatedAt": "2022-05-27T10:05:07.181Z", + "updatedAt": "2022-05-27T10:07:02.985Z", "settings": { "saveExecutionProgress": "DEFAULT", "errorWorkflow": "25"