Automated workflow & credential restoration system for self-hosted environments
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Init (Code): runs custom JavaScript code
- List Bkp Folders (Execute Command): runs a shell command on the n8n host
- Find Last Backup (Code): runs custom JavaScript code
- Restore Credentials? (If): checks a condition and branches into true / false
- Restore Workflows? (If): checks a condition and branches into true / false
- ERROR: Find Most Recent Bkp Folder (Stop and Error): stops the run with an error
- Restore Credentials (Execute Command): runs a shell command on the n8n host
- Exclude Current Workflow From Selection (Execute Command): runs a shell command on the n8n host
- SUCCESS email (Send Email): sends an email over SMTP
- Restore Workflows (Execute Command): runs a shell command on the n8n host
…plus 2 more steps. See the full node list below.
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 (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Send Email
n8n-nodes-base.emailSend - Execute Command
n8n-nodes-base.executeCommand - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError
From the author
n8n Restore workflows & credentials from Disk - Self-Hosted Solution This n8n template provides a safe and intelligent restore solution for self-hosted n8n instances, allowing you to restore workflows and credentials from disk backups. Perfect for disaster…