Automated credentials backup to Google Drive via SSH and Docker
Ready for 3.0What this workflow does
This workflow has 6 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Drive.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Variables (Edit Fields (Set)): sets 3 fields: Backup Folder, Docker Container name, Docker - n8n credentials files
- Execute a command (SSH): uses SSH
- Read File (Read/Write Files from Disk): reads a file from disk
- Google Drive: uses Google Drive
Services it uses
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)
- SSH
n8n-nodes-base.ssh - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Google Drive
n8n-nodes-base.googleDrive
From the author
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.…