Auto backup (2022-05-27T10:07:13.393Z)
This commit is contained in:
141
flows/26.json
141
flows/26.json
@@ -13,54 +13,6 @@
|
|||||||
],
|
],
|
||||||
"typeVersion": 1
|
"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": {
|
"parameters": {
|
||||||
"triggerTimes": {
|
"triggerTimes": {
|
||||||
@@ -92,7 +44,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": "npx n8n export:workflow --backup --output /home/node/.n8n/backup/flows/"
|
"command": "npx n8n export:workflow --backup --output /home/node/.n8n/backup/flows/"
|
||||||
},
|
},
|
||||||
"name": "Export Workflows1",
|
"name": "Export Workflows",
|
||||||
"type": "n8n-nodes-base.executeCommand",
|
"type": "n8n-nodes-base.executeCommand",
|
||||||
"position": [
|
"position": [
|
||||||
460,
|
460,
|
||||||
@@ -104,7 +56,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": "npx n8n export:credentials --backup --output /home/node/.n8n/backup/credentials/"
|
"command": "npx n8n export:credentials --backup --output /home/node/.n8n/backup/credentials/"
|
||||||
},
|
},
|
||||||
"name": "Export Credentials1",
|
"name": "Export Credentials",
|
||||||
"type": "n8n-nodes-base.executeCommand",
|
"type": "n8n-nodes-base.executeCommand",
|
||||||
"position": [
|
"position": [
|
||||||
640,
|
640,
|
||||||
@@ -116,7 +68,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": "cd /home/node/.n8n/backup/ && git add ."
|
"command": "cd /home/node/.n8n/backup/ && git add ."
|
||||||
},
|
},
|
||||||
"name": "git add2",
|
"name": "git add",
|
||||||
"type": "n8n-nodes-base.executeCommand",
|
"type": "n8n-nodes-base.executeCommand",
|
||||||
"position": [
|
"position": [
|
||||||
860,
|
860,
|
||||||
@@ -128,7 +80,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": "=cd /home/node/.n8n/backup/ && git commit -m \"Auto backup ({{ new Date().toISOString() }})\""
|
"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",
|
"type": "n8n-nodes-base.executeCommand",
|
||||||
"position": [
|
"position": [
|
||||||
1060,
|
1060,
|
||||||
@@ -140,7 +92,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": "cd /home/node/.n8n/backup/ && git push https://nia:4159b2141ce710381857585e10f643c40ea613e3@lab.cynic.club/nia/n8n.git --all \n"
|
"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",
|
"type": "n8n-nodes-base.executeCommand",
|
||||||
"position": [
|
"position": [
|
||||||
1260,
|
1260,
|
||||||
@@ -154,7 +106,7 @@
|
|||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"node": "Export Workflows1",
|
"node": "Export Workflows",
|
||||||
"type": "main",
|
"type": "main",
|
||||||
"index": 0
|
"index": 0
|
||||||
}
|
}
|
||||||
@@ -165,7 +117,29 @@
|
|||||||
"main": [
|
"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",
|
"type": "main",
|
||||||
"index": 0
|
"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",
|
"createdAt": "2022-05-26T17:20:27.486Z",
|
||||||
"updatedAt": "2022-05-27T10:05:07.181Z",
|
"updatedAt": "2022-05-27T10:07:02.985Z",
|
||||||
"settings": {
|
"settings": {
|
||||||
"saveExecutionProgress": "DEFAULT",
|
"saveExecutionProgress": "DEFAULT",
|
||||||
"errorWorkflow": "25"
|
"errorWorkflow": "25"
|
||||||
|
|||||||
Reference in New Issue
Block a user