-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 10 can be restored to Homebridge running on a Raspberry Pi, or vice versa.
- Login to the Homebridge UI and from the drop down menu in the upper-right-corner select Backup / Restore.
- Clicking the Download Backup Archive 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 setup Homebridge using one the methods described in the Homebridge wiki.
- Login to the Homebridge UI and from the drop down menu in the upper-right-corner select Backup / Restore.
- Click Browse and select the backup archive you previously generated.
- Click Restore Backup.
Your Homebridge backup will now be restored and any missing plugins will be installed. Once the operation has completed click Restart Homebridge.
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, just extract or copy the contents back to the Homebridge storage directory. You will need to manually reinstall any plugins.
- Raspberry Pi
- Debian, Ubuntu
- CentOS, Fedora, Red Hat
- Arch, Manjaro
- macOS
- Windows 10 / 11 (Hyper-V)
- Docker
- 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 Homemanager App
- 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
- Standalone Mode
- Swap From Standalone To Service Mode
- Developer Docs
- API Reference
- Plugin Templates
- Other Links (Internal)
- Other Links (External)