# Weekly Zigbee2MQTT backup and SFTP upload via scheduled automation
This automation workflow creates a weekly backup of Zigbee2MQTT configuration and uploads it to a remote SFTP server. It runs without user intervention, reducing the risk of data loss in case of system failure. Designed for users leveraging n8n as their automation orchestration platform.
## Who it´s for
- Smart home owners using Zigbee2MQTT
- System administrators responsible for IoT infrastructure stability
- Users seeking automated configuration backups
## What the automation does
- Triggers every Monday at 2:45 AM via cron schedule
- Sends a backup request to Zigbee2MQTT over MQTT
- Receives a base64-encoded ZIP archive with configuration data
- Parses the JSON payload and decodes the base64 string
- Uploads the binary ZIP file to a configured SFTP server with a timestamped filename
## What´s included
- Ready-to-use n8n workflow
- Cron-based trigger logic
- Integrations with MQTT, SFTP, JSON parsing and base64 conversion
- Basic textual instructions for setup and adaptation
## Requirements for setup
- Active Zigbee2MQTT instance connected to an MQTT broker
- SFTP server access credentials (host, port, username, password or private key)
- Accessible n8n instance with outbound network connectivity
## Benefits and outcomes
- Fully autonomous backup process with no manual steps
- Guaranteed weekly preservation of current configuration
- Easy recovery after failures thanks to timestamped filenames
- Reduced risk of losing Zigbee device configurations
- Off-site storage of backups for added resilience
## 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