Zum Inhalt springen
Business ProcessPro — €97

Scheduled Backup of Automations to a Gitea Repository

99/100
13 Nodes

Beschreibung

Sichert Automatisierungen regelmäßig in einem Gitea-basierten Git-Repository.

Setup-Anleitung

### **📌 Setup Guide for Backup Workflows to Git Repository on Gitea**

#### **🔧 1. Configure Global Variables**
Go to the **Globals** node and update the following:
- **`repo.url`** → `{{ $env.WEBHOOK_URL }}` *(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 settings define where workflows will be backed up.**

---

#### **🔑 2. Set Up Gitea Authentication**
1️⃣ **In Gitea:**
- Generate a **Personal Access Token** under **Settings → Applications → Generate Token**
- Ensure the token has **repo read/write permissions**

2️⃣ **In the Credentials Manager:**
- Create a new **Gitea Token** credential
- Set the **Name** as `Authorization`
- Set the **Value** as:
```
Bearer YOUR_PERSONAL_ACCESS_TOKEN
```
📌 **Ensure there is a space after `Bearer` before the token!**

---

#### **🔗 3. Connect Gitea Credentials to Git Nodes**
- Open each of these **three Git nodes**:
- **GetGitea** → Retrieves existing repository data
- **PutGitea** → Updates workflows
- **PostGitea** → Adds new workflows

- Assign the **Gitea Token** credential to each node.

📌 **These nodes handle pushing your workflows to Gitea.**

---

#### **🌐 4. Set Up API Credentials for Workflow Retrieval**
- Locate the API request node that **fetches workflows**.
- Add your **API authentication credentials** (Token or Basic Auth).

📌 **This ensures the workflow can fetch all available workflows from your system.**

---

#### **🛠️ 5. Test & Activate the Workflow**
✅ **Run the workflow manually** → Check that workflows are being backed up correctly.
✅ **Review the Gitea repository** → Ensure the files are updated.
✅ **Enable the scheduled trigger** → Automates backups at defined intervals.

📌 **The workflow automatically checks for changes before committing updates!**

---

### **🚀 Done! Your Workflows Are Now Backed Up Securely!**
💬 Have issues? **Reach out on the forum for help!**

Benötigte Integrationen (4)

HTTP/

HTTP/API

Schedule

Schedule

Split In Batches

SplitInBatches

N8n

n8n

Workflow freischalten

Kaufe das Pro Bundle für €97 — erhalte sofortigen Zugang zu diesem und allen weiteren Starter + Pro Workflows als ZIP-Datei zum Import in n8n.

Sichere Zahlung via Stripe. 7-Tage Geld-zurück-Garantie.
← Zurück zum Marketplace