Securely back up your decrypted n8n credentials from a Docker container to Google Drive using this essential n8n workflow. Perfect for DevOps and self-hosted n8n environments.
Download this n8n workflow template and start using it instantly.
• DevOps professionals managing self-hosted n8n instances on Docker.
• System administrators needing regular, robust backups of core application data.
• n8n power users who want resilient n8n templates for disaster recovery.
• Teams requiring automated compliance logging for integration credentials.
This crucial n8n workflow addresses the vulnerability of losing connection details in self-hosted environments. By operating directly on your infrastructure, this solution provides highly reliable credentials backup. The n8n automation leverages an SSH connection to remotely execute the native n8n CLI command (n8n export:credentials) inside the designated Docker container. This process generates a comprehensive, decrypted JSON file containing all your integrations. The subsequent steps in the n8n workflow ensure that this critical data is securely moved from the local host system and uploaded to a specific folder in Google Drive, making this n8n node combination perfect for reliable scheduled maintenance. Utilize this n8n template to ensure business continuity and quick recovery after any instance failure.
The entire process is designed for scheduled execution, initiated by an n8n trigger, providing hands-off automation.
docker exec command to interact directly with the running n8n container. This command executes the n8n export:credentials --all --decrypted CLI function, saving the sensitive JSON data inside the container.n8n_credentials [Date].json) and uploads the backup securely to the designated folder ('n8n backups') in Google Drive. This complete n8n workflow ensures your credentials are safe and easily retrievable.To deploy this essential n8n template, follow these steps:
docker exec commands on the host system where your n8n container resides.Docker Container name: Replace the placeholder with the exact name or ID of your running n8n Docker container.Backup Folder: Confirm or change the name of the destination folder in Google Drive (default is 'n8n backups').Ensure that the user configured in your SSH credentials has the necessary privileges to execute docker commands on the host machine for the n8n workflow to run successfully.
Schedule Trigger / On clicking 'execute': These n8n trigger nodes initiate the n8n workflow on a schedule or manually, depending on your testing and deployment needs.
Variables (Set n8n node): Defines runtime parameters essential for the n8n automation, including configuration paths and container identification.
Execute a command (SSH n8n node): The core operational n8n node. It uses SSH to execute the command docker exec -u node [Container Name] n8n export:credentials --all --decrypted --output=/path/credentials.json, ensuring the creation of a full, decrypted credentials backup inside the n8n container.
Read File (n8n node): Retrieves the binary data of the newly created credentials.json file from the host system, preparing the payload for the final action.
n8n_credentials [Date].json) to the specified Google Drive folder, completing the secure n8n workflow backup.Deploy this powerful n8n workflow to scrape job postings from Indeed via Apify and generate highly customized cover letters using the GPT-4o-mini n8n node, tailored directly to your resume.

Automate course registration evaluation using an n8n workflow. This powerful n8n template uses a custom n8n trigger form, OpenAI for AI grading, Pinecone for RAG, Google Sheets for logging, and Gmail for instant student notifications.

Automate HR processes with this n8n workflow. It uses GPT-4 to analyze training requests, check department budgets, and route approvals via Gmail, logging all data to Google Sheets. Find more powerful n8n templates.

Deploy this robust n8n workflow to automatically generate daily, professional crypto market summaries using real-time CoinGecko data and Google Gemini AI, posting structured reports directly to your Discord server. Explore powerful n8n templates.

Use this powerful n8n workflow to automatically fetch crypto news via RSS, summarize and translate articles using GPT-4, and publish an HTML-formatted digest to Telegram every 3 hours.

I am a Technical Operations Manager who bridges the gap between complex code and business revenue. With over 15 years of experience, I don't just build websites; I build digital ecosystems that sell. I specialize in taking ownership of the entire technical and marketing stack for SMEs—handling everything from Server Configuration and Python automation to Google Ads and SEO strategy. Core Value: I help business owners stop worrying about their technology so they can focus on their customers.







































