Templates / Create restorable n8n Docker backups in Google Drive via SSH

Create restorable n8n Docker backups in Google Drive via SSH

Ready for 3.0

by Hồ Đình Huy ✓ · 14 views · created 2026-06-28 · 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 44 nodes and runs on a schedule (cron 0 10,22 * * *) (plus 1 other trigger). Along the way it connects Google Drive.

How it runs

Trigger: On a schedule (cron 0 10,22 * * *) (plus 1 other trigger).

  1. Set Backup Configuration (Edit Fields (Set)): sets 2 fields: dockerContainer, date
  2. Set Restore Configuration (Edit Fields (Set)): sets 1 field: dockerContainer
  3. Create Backup Folder (Google Drive): work with folder
  4. Split Uploaded Backup Files (Code): runs custom JavaScript code
  5. Create Credentials Folder (Google Drive): work with folder
  6. Create Workflows Folder (Google Drive): work with folder
  7. Parse Uploaded JSON Files (Extract from File): extracts data from a file (from json)
  8. Export Credentials via SSH (SSH): uses SSH
  9. Export Workflows via SSH (SSH): uses SSH
  10. Detect Backup Record Types (Code): runs custom JavaScript code

…plus 32 more steps. See the full node list below.

Services it uses

Google Drive

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 (12)

From the author

Quick overview This workflow backs up n8n workflows and encrypted credentials from a self-hosted Docker instance via SSH, stores the exports as JSON files in structured Google Drive folders, and provides a Basic Auth–protected form to restore uploaded backups…

Excerpt from Hồ Đình Huy'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.