Automated Workflow Backup and Cleanup Solution
detail.loadingPreview
This n8n workflow automates the critical task of backing up your n8n workflows to Dropbox and cleans up old backups. Ensure your workflow configurations are always safe and your storage stays organized.
About This Workflow
This workflow is designed to provide a robust solution for safeguarding your n8n workflow configurations. It begins by scheduling regular backups of all your current workflows. These backups are then securely stored in a designated Dropbox folder. Crucially, the workflow also implements an intelligent cleanup mechanism, automatically identifying and deleting backups older than 30 days. This ensures your cloud storage remains manageable and you always have access to recent, relevant workflow versions. The process seamlessly integrates with your n8n instance and Dropbox, offering a low-maintenance, high-value operational enhancement.
Key Features
- Automated Workflow Backups: Schedule and perform regular backups of all your n8n workflows.
- Secure Cloud Storage: Store your workflow backups directly in your Dropbox account.
- Intelligent Old Backup Purge: Automatically delete backups older than a specified period (30 days by default).
- Timestamped Backups: Each backup is automatically timestamped for easy identification.
- Dropbox Integration: Leverages Dropbox's robust cloud storage capabilities.
How To Use
- Configure the Schedule Trigger: Set the desired interval for your workflow backups (e.g., daily, weekly).
- Set Destination Folder: Define the primary Dropbox folder where current backups will be stored (e.g.,
/n8n_backups/). - Configure Dropbox Credentials: Connect your Dropbox account using OAuth2 credentials.
- Connect n8n API: Ensure your n8n API credentials are set up to allow the workflow to fetch your workflows.
- Customize Backup Location: The
DESTINATION FOLDERnode sets the base path. TheUPLOAD WORKFLOWSnode will append the workflow name and.jsonextension. - Set Old Backup Purge Duration: Adjust the
durationparameter in thePURGE DAYSnode to define how many days old backups should be before deletion (default is 30). - Review and Activate: Test the workflow to ensure backups are created correctly and old backups are purged as expected. Activate the scheduled trigger to run automatically.
Apps Used
Workflow JSON
{
"id": "8ffcda7c-b2bc-4ee6-8d51-b2cc1cd9591a",
"name": "Automated Workflow Backup and Cleanup Solution",
"nodes": 13,
"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: 8ffcda7c-b2bc...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
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.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
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.