Automate workflow & credentials backup to S3 with retention management
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 12 nodes and runs on a schedule (every day at 23:00). Along the way it connects S3.
How it runs
Trigger: On a schedule (every day at 23:00).
- Config (Edit Fields (Set)): sets 5 fields: bucketName, timstamp, retention…
- Get many workflows (n8n): uses n8n
- Get Existing Backups (S3): search (bucket)
- Export Credentials (Execute Command): runs a shell command on the n8n host
- Store Workflow Backup (S3): upload
- Extract Date (Edit Fields (Set)): sets 2 fields: date, key
- Load Credentials (Read/Write Files from Disk): reads a file from disk
- Keep Outdated Backups (Filter): keeps only the items that match a condition
- Store Credentials Backup (S3): upload
- Delete Outdated Backups (S3): delete
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- n8n
n8n-nodes-base.n8n - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - S3
n8n-nodes-base.s3 - Execute Command
n8n-nodes-base.executeCommand - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
This n8n template automates daily backups of workflows and credentials to S3-compatible storage with automatic retention management. Designed for self-hosted n8n instances requiring disaster recovery protection. The workflow has three tasks: backs up all…