Not able to backup into Samba drive

Hi,
I’m trying to backup from my HA that it’s running on a RPI4 into a remote Samba drive (over a Starlink connection) but I get this error:

Logger: homeassistant.components.backup
Source: components/backup/manager.py:790
integration: Backup (documentation, issues)
First occurred: 6:50:19 AM (6 occurrences)
Last logged: 8:05:58 AM

Error creating backup: Error getting backup details: Backup does not exist

How can I get more info about why it’s not being able to create the backup?
Thanks!

That’s um… a “brave” move.

The connection is far from reliable and drop-outs occur regularly.

Store the backup locally and use a cron job to start a copy/move service that can recover from dropped connections, (like r-sync with --append-verify) to copy/move it to your remote share.

Thanks a lot for your reply.
I tried to do the backup only locally but I also got the same error:

Logger: homeassistant.components.backup
Source: components/backup/manager.py:790
integration: Backup (documentation, issues)
First occurred: 12:57:07 PM (3 occurrences)
Last logged: 1:32:05 PM

Error creating backup: Error getting backup details: Backup does not exist

It seems the backup files are created but just 10Kb and the tars are empty.
Wonder what might be happening… ?
image

Getting the same error. Not able to create any backup. Getting Log:

homeassistant.components.backup
Source: components/backup/manager.py:790
integration: Backup (documentation, issues)
First occurred: 2:52:48 PM (6 occurrences)
Last logged: 6:46:04 PM

Error creating backup: Error getting backup details: Backup does not exist

There is not much information available in the system.

Small files are being created in the backup directory with each attempt to create a backup.

What is the issue here?

1 Like
1 Like

I’m thinking that my error is due to the space available on the SD card. I currently only have 3.3 GB free out of 16GB. I guess the RPI needs to create the backup locally before pushing it into the network drive even when we select to only save it remotely.

The sad thing is that to change the SD card to a larger one I will have to go from scratch due to the inability of creating back ups :frowning:

I confirm. In my case the error was due to the lack of local storage space. I discovered the cause by changing the SD card and not by the generic error message HA showed.