3/14/2023 0 Comments Onedrive backup![]() ![]() ![]() A range is specified by a dashĠ-2,10,21. The format of this is one or more ranges seperated by a comma. If a backup is required or sync is pending it will be performed at the first window allowed in the defined hours. This accepts a range of hours from 0 to 23 for which only during these hours backups / syncs will be performed. When enabled, a partial backup will be created without the addons/local folder Allowed hours (Optional) When enabled, a partial backup will be created without the share folder Exclude local addons folder ![]() When enabled, a partial backup will be created without the ssl folder Exclude share folder When enabled, a partial backup will be created without the media folder Exclude ssl folder Notify on errorĮnables persistent notifications in Home Assistant to notify of backup failures. If you experience timeouts during backup creation, increase this value. This applies to how long your backups take to create. This allows you to set the timeout configured when calling the Home Assistant APIs. The password to use to protect the backups created and uploaded to OneDrive.Ĭurrently this is mandatory to set as I don't think it makes sense to store these unprotected. When enabled the add-on will monitor all local backups whether created by the addon or not Backup password To avoid collision with backups created outside this addon please use a unique name here. Name to use for the backups created by the add-on. Ignore this and save the configuration with the value you want. NOTE: There is a bug in the Home Assistant UI that will light up the value in red (invalid) when you try to use a non whole number here. You should avoid using a value less than 0.083 (~2 hours) as the current enforced minimum sync interval is once an hour. The maximum amount of backups to keep in OneDrive Backup interval (days)įor setting a sub-day frequency you can use a number between 0 and 1, so for example if the value here is set to 0.5, the backup frequency will occur every 12 hours. Note that the number of the actual backups can temporarly exceed the set maximum by one due to the fact deletion occurs only after a new backup is created. The maximum amount of backups to keep locally in Home Assistant See Restoring from backup for additional information on how to recover from a backup. This will still respect the maximum local backups set and will try to sync back the latest backups that exist in OneDrive while remaining under the set limit. ![]() When this settings is toggled on, the add-on will not perform any backups and sync mode will reverse from OneDrive back to Home Assistant. You will be asked to login to your Microsoft account and grant permissions to the App that will allow it to store your backups.Īfter consent has been granted you're good to go (you can verify in the logs that authentication has indeed succeeded)Īll configuration options for the addon can be found in the native Configuration section of the addon in Home Assistant. Open the Addon Logs from the Add-on menu on top and you should see the following lines: To sign in, use a web browser to open the page and enter the code ********* to authenticate.Ĭopy the code and navigate to the url as instructed. (If you're interested in the addon permissions and the authentication flow you can see more details below under Security and Privacy). You will need to Authenticate with OneDrive one time to allow the addon access to a dedicated backup folder in your OneDrive account. Start the addon and wait a few seconds for it to start. You can do this in the addon Configuration. I recommend setting a backup password for your Home Assistant backups. You should now see a new section titled Home Assistant Onedrive Backup Repository that contains the OneDrive Backup addon.Ĭlick Install and wait a few minutes for the addon to download Reload the Add-on page (hard refresh might be required) and scroll down. Select the Repositories option from the 3-dot menu in the top right corner and add this repository url: If you've installed Add-ons before this will be pretty straightforward and you can skip reading thorugh all the steps below except the initial authentication parts in steps 7 and 8.įrom the Home Assistant frontend navigate to the Add-on Store ( Settings -> Add-ons -> Add-on Store ) This is a free addon but if you enjoy this addon and would like to support the development it >would be much appreciated :) Includes Sensor Entities for Dashboards / Automations.Supports Home Assistant Persistent Notifications.Supports multiple Home Assistant instances.Supports backup retention for removing older backups.Recovery mode for loading backups back from OneDrive to Home Assistant.OneDrive for business not currently supported) Syncs backups to OneDrive (Personal Account only.This addon enables easy Home Assistant backup creation and sync to OneDrive. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |