Automated n8n Workflow Backup to NextCloud

Schedules automatic backups of all n8n workflows to NextCloud every 6 hours via REST API, enabling file versioning and data safety.

n8n
Automated n8n Workflow Backup to NextCloud

This workflow automates the backup of n8n workflows to NextCloud storage, using the undocumented n8n REST API. It triggers either manually or via a cron schedule (every 6 hours), fetches the list of all workflows from the local n8n instance at http://localhost:5678/rest/workflows, maps over them to retrieve individual workflow JSON data, processes the data, converts it to binary format, and uploads each workflow as a versioned JSON file to the /n8n/Backup/ folder in NextCloud, named after the workflow (e.g., lacnet1/workflow-name.json).

Key benefits include preventing data loss from n8n instance failures, crashes, or accidental deletions, with NextCloud's built-in versioning providing historical backups and easy restores. It's a lightweight, set-it-and-forget-it solution that runs unattended, saving manual export time and ensuring compliance with backup best practices for automation platforms.

Ideal use cases: Production n8n environments for teams, self-hosted setups needing redundancy, developers iterating on complex workflows, or any n8n user prioritizing data integrity without third-party services. Customize the cron, NextCloud path, or n8n URL for your setup; supports active=false for testing.

$14.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Sales workflows

More from Arjun Radu

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.