-
-
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.
- Log in to the Homebridge UI, and from the side menu, click
Settings
and selectBackup & Restore
option. - Clicking 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
Settings
and selectBackup & Restore
option. - Select the
Restore Now
option, 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
- 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)