AutomationMart
Home/Browse/Complete backup solution for n8n workflows & credentials (local/FTP)
n8n

Complete backup solution for n8n workflows & credentials (local/FTP)

n8nn8n23 modulesv1.0
aggregatecodeconvertToFileemailSendexecuteCommandftpmergen8nreadWriteFilescheduleTriggerstopAndError

Automated n8n Workflows & Credentials Backup to Local/Server Disk & FTP Complete backup solution that saves both workflows and credentials to local/server disk with optional FTP upload for off-site redundancy. What makes this workflow different: Backs up workflows AND credentials together Saves to local/server disk (not Git, GitHub, or any cloud services) Optional FTP upload for redundancy (disabled by default) Comprehensive error handling and email notifications Timezone-aware scheduling

At a glance

Complete backup solution for n8n workflows & credentials (local/FTP) is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects aggregate, code, convertToFile, emailSend. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
aggregate, code, convertToFile, emailSend, executeCommand, ftp
Modules
23
Price
Free
Version
v1.0
Complete backup solution for n8n workflows & credentials (local/FTP) workflow diagram

About this workflow

Automated n8n Workflows & Credentials Backup to Local/Server Disk & FTP Complete backup solution that saves both workflows and credentials to local/server disk with optional FTP upload for off-site redundancy. What makes this workflow different: Backs up workflows AND credentials together Saves to local/server disk (not Git, GitHub, or any cloud services) Optional FTP upload for redundancy (disabled by default) Comprehensive error handling and email notifications Timezone-aware scheduling Ready to use with minimal configuration How it works Backup Process (Automated Daily at 4 AM): 1. Initialisation - Sets up timezone-aware timestamps and configurable backup paths for both local/server disk and FTP destinations 2. Folder Creation - Creates date-stamped backup directories (YYYY-MM-DD format) on local/server disk 3. Dual Backup Operations - Processes credentials and workflows in two separate branches: - Credentials Branch: - Exports n8n credentials using the built-in CLI command with backup flag - Lists exported credential files in the credentials folder - Reads each credential file from disk - Optional: Uploads to FTP server (disabled by default) - Optional: Logs FTP upload results for credentials - Workflows Branch: - Retrieves all workflows via n8n API - Cleans workflow names for cross-platform compatibility - Converts workflows to formatted JSON files - Writes files to local/server disk - Optional: Uploads to FTP server (disabled by default) - Optional: Logs FTP upload results for workflows 4. Data Aggregation - Combines all workflow data with binary attachments for comprehensive reporting 5. Results Merging - Consolidates credentials FTP logs, workflows FTP logs, and aggregated workflow data 6. Summary Generation - Creates detailed backup logs including: - Statistics (file counts, sizes, durations) - Success/failure tracking for local and FTP operations - Error tracking with detailed messages - Timezone-aware timestamps 7. Notifications - Sends comprehensive email reports with log files attached and saves execution logs to disk How to use Initial Setup: 1. Configure the Init Node - Open the "Init" node and customize these key parameters in the "Workflow Standard Configuration" section: Then customize these parameters in the "Workflow Custom Configuration" section: These variables can also be set as environment variables in your n8n configuration. 2. Set Up Credentials: - Configure n8n API credentials for the "Fetch Workflows" node - Configure SMTP credentials for email notifications - Optional: Configure FTP credentials if you want to enable off-site backups 3. Configure Backup Folder: - Ensure the backup folder path exists on your server - Verify proper write permissions for the n8n process - If running in Docker, ensure volume mapping is correctly configured 4. Customize Email Settings: - Update the "Send email" node with your recipient email address or your "N8NADMINEMAIL" environment value - Adjust email subject and body text as needed Enabling FTP Upload (Optional): By default, FTP upload nodes are disabled for easier setup. To enable off-site FTP backups: 1. Simply activate these 4 nodes (no other changes needed): - "Upload Credentials To FTP" - "FTP Logger (credentials)" - "Upload Workflows To FTP" - "FTP Logger (workflows)" 2. Configure FTP credentials in the two upload nodes 3. The workflow will automatically handle FTP operations and include upload status in reports Requirements - n8n API credentials (for workflow fetching) - SMTP server configuration (for email notifications) - Adequate disk space for local backup storage - Proper file system permissions for backup folder access - Docker environment with volume mapping (if running n8n in Docker) - Optional: FTP server access and credentials (for off-site backups) Good to know - Security: Credentials are exported using n8n's secure backup format - actual credential values are not exposed in plain text - Timezone Handling: All timestamps respect configured timezone settings (defaults to Europe/Paris, configurable in Init node) - File Naming: Automatic sanitization ensures backup files work across different operating systems (removes forbidden characters, limits length to 180 characters) - FTP Upload: Disabled by default for easier setup - simply activate 4 nodes to enable off-site backups without any code changes - Connection Resilience: FTP operations include error handling for timeout and connection issues without failing the entire backup - Graceful Degradation: If FTP nodes are disabled, the workflow completes successfully with local backups only and indicates FTP status in logs - Error Handling: Comprehensive error catching with detailed logging and email notifications - Dual Logging: Creates both JSON logs (for programmatic parsing) and plain text logs (for human readability) - Storage: Individual workflow JSON files allow for selective restore and easier version control integration - Scalability: Handles any number of workflows efficiently with detailed progress tracking --- This automated backup workflow saves your n8n data to both local disk and FTP server. To restore your backups, use: - "n8n Restore from Disk - Self-Hosted Solution" for local/server disk restores - "n8n Restore from FTP - Remote Backup Solution" for FTP remote restores

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Automated tweet generator & publisher with GPT-4, Discord, and Google Sheets

AI Twitter Content Machine – Write, Refine & Publish Tweets on Autopilot This workflow is perfect for creators, solopreneurs, and personal brands who want to consistently publish bold, high-performing content on X (Twitter) — without writing a single line themselves. After a one-time setup, it automatically generates tweet ideas, writes in your voice, evaluates post quality, avoids duplicates, and publishes directly to Twitter. All approvals and rewrites are handled in a conversational loop powe

Free

Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent

Disclaimer This template is only available on n8n self-hosted as it's making use of the community node for MCP Client. Who this is for? The Scrape Web Data with Bright Data and MCP Automated AI Agent workflow is built for professionals who need to automate large-scale, intelligent data extraction by utilizing the Bright Data MCP Server and Google Gemini. This solution is ideal for: 1. Data Analysts - Who require structured, enriched datasets for analysis and reporting. 2. Marketing Researchers -

Free

Process documents with recursive chunking using Google Drive, OpenAI & Gemini RAG

1. Document Ingestion & Processing Google Drive Trigger monitors for new files → Loop Over Items processes each file → File Info extracts metadata → Google Drive downloads the actual content → Switch routes to appropriate extractors (PDF or TEXT) based on file type 2. Content Transformation & Chunking Document Data node processes extracted text → Recursive Splitter breaks content into contextual chunks → Chunk Splitting applies intelligent segmentation while preserving document contex

Free

Analyze meeting sentiment with Azure OpenAI and save insights to Google Sheets

Description This workflow analyzes meeting transcripts using AI to understand team sentiment, engagement, and morale. The results are saved in Google Sheets for easy tracking and review. It receives meeting data through a webhook, validates the input, sends the transcript to AI for analysis, cleans the output, and stores the insights in a structured format. This helps teams track morale over time and spot risks early. 🔁 What This Template Does Receives meeting transcript data through a webhook.

Free

Automated music video creation & YouTube publishing with AI-generated metadata from Google Drive

The Problem That it Solves Uploading music manually to YouTube is a chore. Renaming files, filling metadata, picking the right playlist, adding keywords, and scheduling the release can eat up your creative time. This workflow removes the busy work so you can focus on making tracks instead of managing uploads. How it works Drop an MP3 into your shared Google Drive “Audio” folder and walk away. The workflow detects the new file, grabs the genre from the filename based on a set of keywords, uses th

Free

Bitrix24 AI-Powered RAG Chatbot for Open Line Channels

Overview Transform your Bitrix24 Open Line channels with an intelligent chatbot that leverages Retrieval-Augmented Generation (RAG) technology to provide accurate, document-based responses to customer inquiries in real-time. Use Case This workflow is designed for organizations that want to enhance their customer support capabilities in Bitrix24 by providing automated, knowledge-based responses to customer inquiries. It's particularly useful for: - Customer service teams handling repetitive quest

Free

Summarize YouTube videos with transcription, DeepSeek AI and Google Sheets

Tired of manually watching long YouTube videos just to extract the main points? With our YouTube Transcript & Summary Automation, you can instantly turn any video into an actionable, AI-generated summary — all from a simple Google Sheet. What this automation does: Reads video URLs from Google Sheets (just add your links!) Generates accurate transcripts using Supadata.ai — with 100 free uses/month Creates a smart summary using DeepSeek AI: 🔹 Short summary of the video 🔹 Key points 🔹 Main topics Y

Free

Daily financial news summary with Ollama LLM - automated email report

This workflow auto-fetches top financial headlines, cleans the content, and uses AI to summarize it into a short investor-friendly email. Good to know - The workflow runs daily and relies on stable webpage access; check the URL (e.g., for availability. - AI costs may apply depending on the LLM model used (e.g., GPT-4 or Gemini); refer to provider pricing. How it works - Trigger the workflow daily with the Schedule Daily Trigger node. - Fetch financial news

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free