Templates / Automated workflow & credential restoration system for self-hosted environments

Automated workflow & credential restoration system for self-hosted environments

Ready for 3.0

by Florent ✓ · 342 views · created 2025-10-01 · DevOps

Ready 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 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”.

  1. Init (Code): runs custom JavaScript code
  2. List Bkp Folders (Execute Command): runs a shell command on the n8n host
  3. Find Last Backup (Code): runs custom JavaScript code
  4. Restore Credentials? (If): checks a condition and branches into true / false
  5. Restore Workflows? (If): checks a condition and branches into true / false
  6. ERROR: Find Most Recent Bkp Folder (Stop and Error): stops the run with an error
  7. Restore Credentials (Execute Command): runs a shell command on the n8n host
  8. Exclude Current Workflow From Selection (Execute Command): runs a shell command on the n8n host
  9. SUCCESS email (Send Email): sends an email over SMTP
  10. 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)

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…

Excerpt from Florent's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.