Auto backup (2022-05-27T10:07:13.393Z)

This commit is contained in:
nia
2022-05-27 10:07:13 +00:00
parent 696b10a59a
commit 3e3b39db3e

View File

@@ -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"