Automated Workflow Backup and Cleanup for n8n
detail.loadingPreview
Effortlessly automate the backup of your n8n workflows to Dropbox and maintain a clean archive by purging old backups. This workflow ensures your valuable automation configurations are always safe and storage is optimized.
About This Workflow
This n8n workflow is designed to provide robust backup and archival management for your n8n instances. It automatically backs up all current workflows to a designated Dropbox folder, ensuring you have a safe copy of your automation logic. Furthermore, it intelligently identifies and deletes backups older than 30 days from an 'old' subfolder within your Dropbox, preventing unnecessary storage consumption. This template is perfect for users who need reliable, hands-off backup solutions and want to maintain an organized and efficient storage strategy for their n8n configurations.
Key Features
- Automated Workflow Backups: Schedules regular backups of all active n8n workflows.
- Dropbox Integration: Seamlessly stores workflow backups in your Dropbox account.
- Intelligent Archival: Organizes backups into an 'old' folder for historical reference.
- Automatic Purging: Deletes backups older than a configurable period (default 30 days).
- Scheduled Execution: Runs automatically based on your defined schedule.
How To Use
- Schedule Trigger: Configure the
Schedule Triggernode to set how often you want your backups to run (e.g., daily, weekly). - Destination Folder: In the
DESTINATION FOLDERnode, specify the root path in your Dropbox where backups will be stored (e.g.,/n8n_backups/). - Dropbox Credentials: Ensure your Dropbox account is connected and authenticated in the Dropbox nodes (
GET CURRENT BACKUPS,UPLOAD WORKFLOWS,MOVE INTO OLD FOLDER,DELETE OLD BACKUPS). - n8n Credentials: Connect your n8n account credentials in the
GET WORKFLOWSnode to access your workflows. - Execution Flow: The workflow will first get all your current workflows, convert them to JSON, and upload them to your specified Dropbox folder. It will then move existing backups to an 'old' subfolder.
- Purge Old Backups: The
LIST OLD BACKUPS,PURGE DAYS, andDELETE OLD BACKUPSnodes work together to identify and remove backups older than 30 days from the 'old' folder.
Apps Used
Workflow JSON
{
"id": "ef39f39a-b07f-4a82-ab9c-7cb5a7e70778",
"name": "Automated Workflow Backup and Cleanup for n8n",
"nodes": 14,
"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: ef39f39a-b07f...
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.
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.