Block 1 - Loop: Single WF
- Type / Role
- n8n-nodes-base.splitInBatches - splitInBatches
- Config choices
- Version 3
Quick Overview This workflow backs up all n8n workflows and encrypted credentials from a self hosted Docker instance to a GitHub repository on a schedule, and provides a Basic Auth–protected form t...
n8n-nodes-base.splitinbatches, n8n-nodes-base.scheduletrigger, n8n-nodes-base.github, n8n-nodes-base.ssh, n8n-nodes-base.code, n8n-nodes-base.splitout, n8n-nodes-base.converttofile, n8n-nodes-base.merge
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Hồ Đình Huy.
Original n8n.io sourceThis workflow backs up all n8n workflows and encrypted credentials from a self-hosted Docker instance to a GitHub repository on a schedule, and provides a Basic Auth–protected form to restore workflows and credentials by importing uploaded JSON backup files over SSH.
workflows and credentials folders (via placeholder files) in the target GitHub repository.workflows-all.json and individual <workflow name>.json workflow backups to GitHub.credentials-all.json and individual <name>_<type>.json encrypted credential backups to GitHub.workflows-credentials.json file containing both exports for easy restoration.docker exec/docker cp against the n8n container.N8N_ENCRYPTION_KEY as the source so encrypted credentials can be restored.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 58 workflow blocks. Download the JSON for the full node graph.
| Workflow | Back up and restore n8n Docker workflows and credentials with GitHub and SSH |
|---|---|
| Complexity | advanced |
| Nodes | 58 |
| Categories | DevOps |
| Author | Hồ Đình Huy |
| Published | 09 Jun 2026 |
Use the JSON export at /data/workflows/16191/16191.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Quick Overview This workflow backs up all n8n workflows and encrypted credentials from a self hosted Docker instance to a GitHub repository on a schedule, and provides a Basic Auth–protected form t...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.