# Manually restore n8n credentials from Google Drive backup
This workflow enables manual restoration of n8n credentials from a backup stored in Google Drive. It is designed for fast recovery after system failures or environment migrations.
## Who it´s for
- n8n administrators managing multiple credentials
- DevOps engineers setting up disaster recovery processes
- Developers migrating n8n instances between dev and production environments
## What the automation does
- Triggered manually via n8n interface
- Retrieves current n8n credentials using a CLI command
- Searches Google Drive for a file named `n8n_backup_credentials.json`
- Downloads and parses the JSON backup file
- Splits data into individual credential entries
- Checks for duplicates before import
- Sequentially restores each credential via n8n API with delay between requests
## What´s included
- Ready-to-use n8n workflow
- Trigger and error handling logic
- Integrations with Google Drive API and n8n API
- Basic setup and adaptation guide
## Requirements for setup
- Access to an n8n instance with CLI execution permissions
- Google account with access to Google Drive
- Backup file named `n8n_backup_credentials.json` located in root or specified folder
- Configured OAuth2 credentials for Google Drive integration in n8n
## Benefits and outcomes
- Reduced downtime during incident recovery
- Faster provisioning of new n8n instances
- Lower risk of losing configuration and access keys
- Ability to synchronize credentials across environments
- Transparent, step-by-step restoration process with full visibility
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet