Back to Templates
See llms.txt for all machine-readable content.
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 back into an n8n Docker container.
workflows-all.json export and also uploads each workflow as its own JSON file into the Google Drive workflows folder.credentials-all.json export and also uploads each credential as its own JSON file into the Google Drive credentials folder.workflows-credentials.json package from both exports and uploads it to the root of the Google Drive backup folder..json files through a Basic Auth–protected n8n form, detects whether they contain workflows or credentials, then copies a generated import file to the target container over SSH and runs n8n import:workflow and/or n8n import:credentials.docker exec and docker cp against the n8n container.N8N_ENCRYPTION_KEY as the source if you plan to restore credentials.