Add-on: Home Assistant Google Drive Backup

If you are using supervised or haos and take a full backup yes. If you are using core it only backs up HA core and related components (integrations are included in core… Addons are not)

This is the preferred way to migrate to new hardware

Call me the noob as I just moved from Vera to HA a month ago, so how do I know if I’m using HA Supervised or HA Core?

I think it is Supervised but am not sure.

You’re looking at the observer. Go into HA and look at settings > about. That first picture shows your on HAOS v. 13.1

See the os version there?

I think my answer is right here:

So I should be able to wipe the Windows / VM installation with HA directly on the NUC then restore from back up.

I assume the HA Config or Add-in Folder includes KeyMaster? I’m not too excited about going through setting up KeyMaster again if it doesn’t. Setting up locks is actually easier in Vera than that but it could just be me being a noob and that being the first thing I set up…

1 Like

It’s the whole enchilada. I’ve moved from. Supervised on pi4 to haos on pi4 to haos on NUC 10 so far including one DR recovery from a bum disk.

I keep two full backups (one known good and one current) backups on HAOS or HA core updates and partials for the addon installs.

Good backup includes testing - I restore latest into an isolated VM running haos on occasion to make sure it works. …then dump all the incrementals I have to that point

So worst case I can usually get back to last night’s current state pretty easy… And have historic incase it’s something in the DB or something that happened early and wasn’t caught.

Is this Win10 on a NUC, HAOS on Linex on a 10th gen NUC or something else?

Right now HAOS generic x64 bare metal on a nuc10.

It’ll move to live inside a Proxmox instance on a NUC 14 Pro AI later this year. (alongside a local ollama installation)

1 Like

My NUC is old. I’ll probably do option A.

Hi and many thanks for this add-on :+1:
I already use samba-backup and do daily backups and safe them on my NAS and at this time, I also remain this backups locally on my HA drive.
My current wish would be to additionally upload the last 7 backups (created by samba-backup or automatically by HA during updates and installations) to my Google Cloud, but without deleting any of my local backups.
Would that be possible or can the Google add-on only upload backups to the cloud that it has created/initiated itself?
And now, after starting the Google-Drive Add-on, on the start page it says “you have xxx backups in Home Assistant already”.
What happens with this backups if I configure and use the Google add-on?
Is there a risk that these will be deleted, depending on the configuration of the add-on?
I’m now a little worried that by configuring the Google add-on, I could delete the old backups…
I would be very grateful for a few explanations and help with the configuration.
Many thanks
regards

I am looking for some form of notification after the backup is finished or in case there is an error and HA didn’t backup.
I have telegram and discord notifiers setup in home assistant.
anybody know of a way that works with the latest version of this addon?

Incredibly well made add-on. Nice one.

Decided it was time to Buy Stephen a Coffee. Actually I bought 5. This really should be part of Home Assistant. It would help so many people to just set it and forget it, and take the pain away from screwing up the system. How about everyone go here:

Buy Stephen a Coffee

I already boughtr him several coffies a long time ago - totally agreed!

Thanks ! :grinning:

In the last month I have a strange problem with the Backup plugin.
A backup is always created, uploaded to Google Drive.
Still, I get a backup error notification every day. The “sensor.backup_state” entity changes to ERROR during every backup for an hour (probably during file upload because file on drive is created at 5).

image

I currently have 2 backups on the drive, each takes about 5.3GB, they have a total of 10.6GB, and there is about 4GB free on the disk. I have it set so that the oldest file is deleted before the backup.

I can’t load the LOG of the add-on, I get the error “Lost connection to add-on, will keep trying to connect…”

I am using version: 0.112.1

HA:Core 2024.10.4
Supervisor 2024.10.3
Operating System 13.1
Frontend 20241002.4

Hello, and thanks a lot for this great addon! :+1:

My HA runs on an RPi4 in an RC car connected to a router also in the RC car.

If the car is parked at home, the router is connected to the router at home and all HA backups run over this WiFi connection.

If I am on the way, the router in the car is usually connected to the mobile network (it has a SIM card) if there is no WiFi available on a campsite.

The router status (mobile or WiFi) is known to HA via SNMP.

Is it possible to programmatically tell the backup addon to pause backups while connected to mobile network? This would help to save on the mobile data plan.

Thanks for sharing your thoughts! :heart:

I haven’t installed the add-on yet and the documentation is a bit succinct. I see you can choose to do full or partial backups…but can you do both? Like a weekly full backup and daily partial backups to preserve storage space

For more complex backup scheduling such as only backing up when certain conditions are true or performing a combination of full and partial backups, you will probably want to create your own automation to schedule backups via actions provided by the HA supervisor integration, rather than making use of this add-on’s backup scheduling capabilities (which I think pre-dated the ability to trigger backups via the HA supervisor integration).

1 Like

I have a question about handling clashing generational backup rules and hope you can help me out :slight_smile:

It says here that

Note that sometimes a day might overlap more than one schedule. For example, a backup on January 1st could satisfy the constraints for both a yearly and monthly backup. In this case, the add-on will only delete older backups when it must to keep from exceeding max_backups_in_ha or max_backups_in_google_drive

But I can’t fully understand how that clash is being handled. My expectation would have been that if a yearly and a monthly backup fall on the same date, then it creates a yearly backup (because for all intents this can also be considered a monthly backup).

But I just ran a test with a clean slate and the following settings:

Today is Wednesday, November 27th, the 332nd day of the year.
So daily, weekly, monthly, and yearly backup could all happen today.

Again: my expectation would be to receive a yearly backup in this case. But instead, the addon tells me it created a daily backup:
image

Is that expected behavior or is it just wrongly displaying this as a daily backup?

sorry to bother you with this @sabeechen, but is this maybe something you can elaborate on? I am not fully understanding how the addon handles situations where generational_day_of_week, generational_day_of_month, and generational_day_of_year all fall on the same day.

In my opinion this should create a yearly backup, but in my test it’s displayed as a daily backup.

I am therefore unsure how to set this up in order to ensure I will always have a yearly backup available.