Block 1 - Globals
- Type / Role
- n8n-nodes-base.set - set
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This workflow automates the backup of all workflows from your system to a Git repository hosted on Gitea . It runs on a scheduled trigger , fetching, encoding, and committing workflow data, ensurin...
n8n-nodes-base.set, n8n-nodes-base.n8n, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Octoleo.
Original n8n.io sourceThis workflow automates the backup of all workflows from your system to a Git repository hosted on Gitea. It runs on a scheduled trigger, fetching, encoding, and committing workflow data, ensuring seamless version control and disaster recovery.
📌 Quick Setup: Just update three global variables and configure authentication—no manual exports needed!
1️⃣ Scheduled Execution → Runs automatically at defined intervals. 2️⃣ Fetch Workflows → Uses the API to retrieve all workflows. 3️⃣ Process Workflows → Converts workflow data into a Git-friendly format. 4️⃣ Commit & Push to Git → Saves workflows in a Gitea repository.
Go to the Globals section in the workflow and update:
repo.url → https://your-gitea-instance.com (Replace with your actual Gitea URL)repo.name → workflows (Repository name where backups will be stored)repo.owner → octoleo (Gitea account that owns the repository)📌 These three variables define where the workflows are stored.
AuthorizationBearer YOUR_PERSONAL_ACCESS_TOKEN📌 Ensure there is a space after Bearer before the token!
Attach the Gitea credentials to these three Git nodes:
📌 The workflow automatically checks for changes before committing updates.
✅ Automated Backups → No manual exports needed. ✅ Version Control → Easily track workflow changes. ✅ Simple Setup → Just configure globals & credentials. ✅ Secure → Uses token-based authentication.
💬 Have questions? Reach out on the forum! 🚀
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.
| Workflow | Backup workflows to Git repository on Gitea |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | DevOps |
| Author | Octoleo |
| Published | 29 Jan 2025 |
Use the JSON export at /data/workflows/2820/2820.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.
This workflow automates the backup of all workflows from your system to a Git repository hosted on Gitea . It runs on a scheduled trigger , fetching, encoding, and committing workflow data, ensurin...
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.