-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup & Restore #1033
Comments
+1 on this issue. I tried to stop HA-Bridge and ftp the config file, but it is locked for access. |
This makes it simple to manage backup files and load them back in. I suppose we could enhance it to be able to download the backup files from the list to your remote machine. Also, you could open up sftp (would not recommend ftp anymore) and you can mount that on you other machine and copy them over. The service is not started by default but can be enabled in the raspi-config program or google it. |
Sorry, I should have been more precise. I was using sftp on my other machine but could not access the config file because it was "open for read" even after stopping the bridge on the Pi. And to Tuicemen's point, a one button backup to other machine like HomeGenie provides would be an optimum solution. |
Agreed the backups and restores currently are simple to create and restore also much faster then saving or restoring to/from another device. |
I think the issue is the *.cfgbk backup files are owned by 'root'. The 'pi' user does not have read access when using ftp/scp from another machine: pi@pi2:~/ha-bridge/data $ ls -lrt Changing permissions of *.cfgbk to 644 same as the *.db and *.bk files would allow ftp/scp. |
@craigski you are correct changing the file permission will allow you to copy the cfgbk file. |
I have download working, next is upload |
Awesome!! |
Fixes #670 Execute select Device when bridge loads [Enhancement Request] enhancement Fixes #877 Color in Hue/Sat enhancement Fixes #917 lock device ID #s enhancement Fixes #1032 Support for HomeGenie enhancement Fixes #1033 Backup & Restore enhancement Fixes #1060 Voice command colour change bug question Fixes #1077 several somfy action in a same Row ID doesn't work bug question Fixes #1084 Add Mozilla IoT gateway Helper enhancement Fixes #1092 ha-bridge incompatible with Amazon Echo Dot Gen. 3? enhancement question Fixes #1093 Alexa Issue : ID conflict between HA Bridge an Hue Bridge enhancement question Fixes #1094 issue with 5.2.2 and Harmony enhancement question Fixes #1095 issue with 5.2.2 and fhem enhancement question Fixes #1098 Home Assistant has new authentication methods and Legacy API Passwords will be removed enhancement question Fixes #1103 Have single scroll bar for Bridge Devices page. enhancement Fixes #1108 Add mDNS Discovery to ha-bridge Fixes #1109 Add HTTPS to ha-bridge
Currently the Backup and restore of HA-Bridge works great.
However this saves the files to the device HA-Bridge is running on.
If this device fails or if in a Pi and the SD card gets corrupt there is no way to retrieve a back up to restore.
Or am I missing the obvious?
It would be great if when trying to do a back up or restore HA-Bridge asked the location to save or restore from/to
The text was updated successfully, but these errors were encountered: