2025.2: Iterating on backups

Hi, I really appreciate all the change to the backup integration. Well done so far.

But I still have an issue with automatic backups to my local NAS. This worked fine over years until 2025.1.

I opened an issue at github and described it here:

What do you think about this?

Thanks Hoppel

Honestly, I have no idea :slight_smile:
What happens if you remove the SMB share and try to back up using the new Synology DSM integration?

How to setup the backup to onedrive ?

So I’m trying to setup the new backup system to onedrive.

I don’t have credentials

This guide points to

But what is the redirect url ? And what are the credentials ?

I think that is the OAuth client ID

But cetificates & secrets lets me create Client secrets, but the come in pairs

and neither value or secret id work as OAuth client secret.

All I ever get is

Logger: homeassistant.helpers.config_entry_oauth2_flow
Source: helpers/config_entry_oauth2_flow.py:345
First occurred: 13:42:47 (5 occurrences)
Last logged: 14:21:42

Error resolving OAuth token: 401, message='Unauthorized', url='https://login.microsoftonline.com/consumers/oauth2/v2.0/token'
Error resolving OAuth token: 400, message='Bad Request', url='https://login.microsoftonline.com/consumers/oauth2/v2.0/token'

I made sure I was signed into my Microsoft account first then added the integration then I got the popup and followed that, no need to do anything else.

I am signed in on onedrive in the same browser (firefox) when adding the onedrive integration. Does not help.

looks like you logged in with your company account,
it only works for personal accounts (for now?)

I just updated from 2024.12.5 to 2025.2.
I have 2 modbus hubs, 8 devices and more than 30 sensors.
Everything works fine after the update.

The account I use to (try) to create a client id and client secret is indeed a developers account, but the account I want to link is a personal microsoft account.

But as OneDrive - Home Assistant says :

You will need an Azure tenant with an active Azure subscription to create your own client credentials.

Can’t do that with a personal microsoft account.

hhmmmm,
yea, I never read the manual, so I missed that, But I assume this is a mistake in the docs,
I didn’t do this, just used my personal info and it was done in 2 clicks

Although I understand your sentiment it is good to realise that developers just like you are human. And the sentiment of some of the feedback was harsh which does not stimulate a friendly response.

1 Like

Please put this higher on the list!!! :slight_smile:

It would open up a lot of options if we can have the Voice Assistant PE being able to ask a questions. and respond instead of the current welkom home announcement I would be able to add a question depending on time of day any of the sensor I have.

This would easily take this above and beyond the current other Voice Assistants out there.

4 Likes

Seems you can’t do it in a private window. Just tried on my desktop, it immediately opens a window to enter my onedrive credentials.

Thanks for the update and new stuff on the voice hardware, i am trying hard to push Voice Assistant Preview in my house but unfortunately we re not close enough to Alexa to make my family switch. Not talking about automation capabilities but more about speed and wake word detection, new hardware improves in that area but its still miles away from the big players sadly.

IMPORTANT: Has anyone else’s backup encryption key changed after updating from 2024.1.4 to 2025.2.0? This is concerning, as surely this will mean that unless people save the new encryption key, none of their new backups in 2025.2.x will be accessible if there is a complete system failure and they only have their 2024.1.4 encryption key?

EDIT: I have updated the other three HA instances I manage and not seen this behaviour on any of them. Strange that it has changed on my primary instance. I did not change the key myself, but I also cannot be 100% sure it didn’t change itself before the update was applied.

how do you use Deepstack ? thanks

I agree

@synesthesiam , could you add assist_satellite.start_conversation to Wyoming satellite, Voice PE and Assist microphone ? Please :pray: :pray: :pray:

1 Like

I also thought that the initial release if the improved backup functionality was too limited, but also knew that this would improve over time and I am impressed how much of the user requested additional functionally has been added in just one month. Well done to all involved.

As a long time user of HA the only thing I’d like to see is a proper hierarchical backup strategy as per the Google Backup Add-On i.e. Daily for a week, Weekly for a month, Quarterly for a year and Annual.

5 Likes

While all the backup improvements are appreciated I’m not ready to switch over from the SAMBA backup add-on just yet. Not until we have:

  • events or a sensor for notification of backup start/sucess/fail
  • different keep quantities for different locations. I have much more space available on my NAS than on system.

It’s great that core charts are getting some attention. Looking forward to future work on this. I’d like to be able to retire my ApexCharts someday and I’m hoping we get something like this sort of core capability:

Other than that it’s a pretty uneventful update for me (which is not a bad thing).

18 Likes

Thanks for the new release. Is there an option for (custom)-components developers to check if a backup/upgrade is running? Background: When an oauth token is expiring after the backup/update started, it could be good to prevent a token refresh until this task has finished to support a roll-back.

2 Likes

that looks really nice, would you mind sharing the yaml code for it please.

1 Like