Repository navigation
Backup and Restore
This article will explain how to backup and restore your Homebridge instance.
A Homebridge backup generated using the Homebridge UI contains the entire contents of your Homebridge storage directory, which includes your Homebridge config, cached accessories, HomeKit pairings, plugin information, and Homebridge UI user accounts.
The backups can be used to rollback your existing system, or migrate to a new server.
Backup archives are cross-platform compatible, for example, a backup archive generated on Homebridge running on Windows can be restored to Homebridge running on a Raspberry Pi, or vice versa.
- Log in to the Homebridge UI, and from the side menu, click
Settingsand selectBackup & Restoreoption. - Click the Backup Now button
This will generate and download a .tar.gz file containing the entire contents of your Homebridge storage folder, including your config.json, a list of installed plugins, cached accessories, and HomeKit pairing information.
You can restore a previously generated backup archive using the Homebridge UI.
- Ensure you have set up Homebridge using one of the methods described in the Homebridge wiki.
- Log in to the Homebridge UI, and from the side menu, click
Settingsand selectBackup & Restoreoption. - Select the
Restore Nowoption, and a new window will appear where you can upload your backup file. - Click
Restore.
Your Homebridge backup will be restored, and any missing plugins will be installed. Once the operation has completed, click Restart Homebridge.
You can use the Backup & Restore window to manage the automated backups that your system may create. Use the three buttons to:
- Directly restore this backup without having to download and re-upload the file
- Download this backup file
- Delete this backup file
In some cases, after doing a restore, you may need to Reset Homebridge and re-add the bridge in the Home app.
To make a backup without the Homebridge UI, you can archive or make a copy of the Homebridge storage directory (the one that contains your config.json file). To restore, extract or copy the contents to the Homebridge storage directory. You will need to manually reinstall any plugins.
- Raspberry Pi
- Debian, Ubuntu
- CentOS, Fedora, Red Hat
- Arch, Manjaro
- Docker
- Virtual Machine (Windows & macOS)
- Windows
- macOS
- Synology DSM 7
- Other Platforms
- Basic Troubleshooting
- Backup and Restore
- Child Bridges
- Config File
- Connect To HomeKit
- FFmpeg for Homebridge
- HomeKit Glossary of Terms
- iOS Apps
- mDNS Options
- Remote Access
- Useful Links
- Basic Troubleshooting
- Config Options
- Enabling Accessory Control
- Enabling UI with Docker
- Homebridge Service Command
- Manual Configuration
- Reverse Proxy: Apache
- Reverse Proxy: Nginx and SSL
- Manage Homebridge Version
- Manage Homebridge UI Version
- Manage Plugin Version
- Manage Node Version
- Updating To Homebridge v2
Raspberry Pi Image
- Pi Image Home
- Getting Started
- Supported Raspberry Pi Models
- Find the IP Address
- Connect Via SSH
- Connect Via VNC (old)
- Set the Date and Time
- SSL / HTTPS Access
- Disable the WiFi Setup Portal
- Reset WiFi
- Upgrade to the Latest Image
- Update Homebridge and Node.js
- Enable Debug or Insecure Mode
- Install Pi-hole
- Install AdGuard Home
- Install deCONZ (ConBee / RaspBee)
- Migrate From HOOBS
- Fix Eero Router Connectivity
Docker
Synology Package
HAP-NodeJS
- Developer Docs
- API Reference
- Plugin Templates
- Other Links (Internal)
- Other Links (External)