Automatic system backup are created and deleted from the CIFS share

I have configured an automated HA system backup to the network share. It works fine, but for some reason, the backup file is again removed by the HA:

Here is the SMB access log:

And here is the backup configuration in HA:

Any help would be appreciated. :slightly_smiling_face:

did you look at the Retention time

Yes, retention time is set to “forever”

After a thorough review of logs on both the NAS and HA Supervisor, I believe I have found the reason for this issue. I am using a Google Drive Backup add-on, and while I ran the HA on the RPi5, in order to save space, I’ve had the option to remove backups from the local system after uploading them to Google Drive. I did not turn this feature off after moving the HA to a virtual machine on the NAS. In the HA Supervisor logs, I could see that it is the Google Drive Backup that accesses the file at the same time, 04.00.39, as the time of file removal on the NAS.

1 Like

It appears that the Google Drive Backup add-on utilizes the same directory as Home Assistant’s system backups. When the option to delete local backups after uploading to Google Drive is enabled, the add-on removes all files within that directory—regardless of their origin—potentially including unrelated or manually created backups.

There is the ‘ignore other backups’ setting

1 Like

Hey,

Thanks for your reply. I have enabled that option. However, it still deleted backups not being created b the add-on.

I don’t know why. Here Google Drive Backup leaves my automatic backups alone (and vice-versa)
Still using both systems.

Not sure either. I’ll try and direct add-on to use the default storage location and hot the SMB share. I hope this helps.