Automate Workflow Backups to Gitea with n8n
detail.loadingPreview
Ensure the safety of your n8n workflows by automatically backing them up to a Gitea Git repository. This template provides a robust solution for version control and disaster recovery.
About This Workflow
This n8n workflow automates the critical task of backing up your n8n workflows to a Gitea Git repository. Scheduled to run every 45 minutes, it fetches all your active workflows, checks for changes, and commits them to your designated Gitea repository. This ensures that you always have a recent copy of your automation logic, providing peace of mind and facilitating easy rollback or migration. The workflow intelligently handles creating new files for new workflows and updating existing ones, all managed through secure Git operations.
Key Features
- Automated Scheduling: Backups run automatically at a configurable interval (default 45 minutes).
- Gitea Integration: Seamlessly backs up workflows to your private Gitea instance.
- Version Control: Leverages Git to manage workflow versions, enabling history tracking and rollbacks.
- Change Detection: Efficiently identifies and commits only changed workflows.
- Workflow Management: Handles both creation of new workflow files and updates to existing ones.
How To Use
- Configure Gitea Credentials: Ensure your Gitea credentials are set up within n8n.
- Set Repository Details: In the 'Globals' node, update
repo.url,repo.name, andrepo.ownerto match your Gitea repository. - Adjust Schedule: Modify the 'Schedule Trigger' node if you wish to change the backup frequency (default is every 45 minutes).
- Connect n8n API: Ensure the 'n8n' node is connected to your n8n instance with appropriate credentials.
- Run the Workflow: Activate the workflow to begin automated backups.
Apps Used
Workflow JSON
{
"id": "7a966514-bf87-4ec1-ba1d-7cbe166453b3",
"name": "Automate Workflow Backups to Gitea with n8n",
"nodes": 27,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 7a966514-bf87...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.