Automated Credentials Backup to Google Drive via SSH and Docker — n8n Workflow

Medium complexity Trigger6 nodes👩‍💻 IT Opsby Alexandru Florea

Overview

This workflow automates the backup of decrypted n8n credentials from a self-hosted Docker instance to Google Drive. It allows you to export credentials on n8n versions 2.x.x (where old CLI commands may not work) without accessing the server terminal manually.

How it works Configuration**: Defines the Docker container name and file paths using a centralized variables node. SSH Execution**: Connects to the host machine via SSH and executes the n8n export:credentials command inside the specified D

Nodes used

Google Drive

Workflow Preview

Loading workflow preview...

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 6 nodes, connecting googledrive, manualtrigger, readwritefile.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (6)

GO

Google Drive

googleDrive

#1

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded automated-credentials-backup-to-google-drive-via-ssh-and-docker file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Automated Credentials Backup to Google Drive via SSH and Docker", "nodes": [...], ...}

Integrations

googledrivemanualtriggerreadwritefilescheduletriggersetssh

Get This Workflow

Download and import in one click

View on n8n.io
Nodes6
Complexitymedium
Triggertrigger
CategoryIT Ops

Created by

Alexandru Florea

Alexandru Florea

@elitiv

Tags

googledrivemanualtriggerreadwritefilescheduletriggersetssh

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →