AutomationFlowsGeneral › Backup Flows

Backup Flows

Backup Flows. Uses ssh. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesSsh
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "createdAt": "2025-10-05T16:57:48.268Z",
  "updatedAt": "2025-10-08T15:17:49.000Z",
  "id": "cI3YhhQsjoSgAArM",
  "name": "Backup Flows",
  "active": true,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        -16
      ],
      "id": "2728da63-2833-4626-81b9-6d8f87ab2f5a",
      "name": "When clicking \u2018Execute workflow\u2019"
    },
    {
      "parameters": {
        "command": "docker exec -i n8n n8n export:workflow --backup --output=/home/node/.n8n/workflow"
      },
      "type": "n8n-nodes-base.ssh",
      "typeVersion": 1,
      "position": [
        224,
        80
      ],
      "id": "81bb769a-737d-4848-b794-79653b426c6a",
      "name": "Execute a command",
      "credentials": {
        "sshPassword": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        176
      ],
      "id": "396106e2-ed57-4e42-8c19-8655b1230f7e",
      "name": "Schedule Trigger"
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Execute a command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Execute a command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": {
    "node:Schedule Trigger": {
      "recurrenceRules": []
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "versionId": "7385356c-6f34-4d3c-8ad3-0a2592175e2c",
  "triggerCount": 1,
  "tags": [],
  "shared": [
    {
      "createdAt": "2025-10-05T16:57:48.274Z",
      "updatedAt": "2025-10-05T16:57:48.274Z",
      "role": "workflow:owner",
      "workflowId": "cI3YhhQsjoSgAArM",
      "projectId": "0tBJbgcFWwxEMKPn",
      "project": {
        "createdAt": "2025-10-05T16:55:31.619Z",
        "updatedAt": "2025-10-05T16:55:58.616Z",
        "id": "0tBJbgcFWwxEMKPn",
        "name": "Bikash Panda <oksbwn@gmail.com>",
        "type": "personal",
        "icon": null,
        "description": null
      }
    }
  ]
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Backup Flows. Uses ssh. Event-driven trigger; 3 nodes.

Source: https://github.com/oksbwn/Inventory-Management-System/blob/7f26462a83a574049df178775808226e970cd4f8/n8n/cI3YhhQsjoSgAArM.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

HomeLab CLI. Uses executeWorkflowTrigger, ssh. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, Ssh
General

Tree. Uses ssh, executeWorkflowTrigger. Event-driven trigger; 2 nodes.

Ssh, Execute Workflow Trigger
General

This automated n8n workflow sets up a complete MERN Stack development environment on a Linux server by installing core technologies, development tools, package managers, global npm packages, deploymen

Ssh
General

nola tool — run_command. Uses executeWorkflowTrigger, ssh. Event-driven trigger; 5 nodes.

Execute Workflow Trigger, Ssh
General

Absen Otomatis. Uses ssh, executeWorkflowTrigger, scheduleTrigger, httpRequest. Event-driven trigger; 12 nodes.

Ssh, Execute Workflow Trigger, HTTP Request