hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Samba Backup not playing nice with native NAS function of HA

Open Kugelfang666 opened this issue 1 year ago • 7 comments

Hi all,

I used to have this add-on up and working for months. Ever since the native integration of remote locations for the backups was integrated into HA this integration does not work for me any longer.

I have a folder for the HA Backups on my NAS with two Subfolders

NAS-FOLDER --> Subfolder 1: Native_Backups --> Subfolder 2: Automatic_Backups

Subfolder 1 is mounted using the native network folder feature introduces with HA 2023-06 Subfolder 2 is the destination for this addon

When this add-on runs, I can see the backup being ending up in Subfolder 1 instead of Subfolder 2. Also I receive an Error in the logs:

[23-07-27 13:04:29] INFO: --------------------------------------------------- [23-07-27 13:04:29] INFO: Host/Share: 192.168.178.73/HomeAssistant [23-07-27 13:04:29] INFO: Target directory: Automatic_Backups [23-07-27 13:04:29] INFO: Keep local/remote: 0/10 [23-07-27 13:04:29] INFO: Trigger time: 13:06 [23-07-27 13:04:29] INFO: Trigger days: Mon Tue Wed Thu Fri Sat Sun [23-07-27 13:04:29] INFO: --------------------------------------------------- [23-07-27 13:04:30] INFO: Samba Backup started successfully [23-07-27 13:06:30] INFO: Backup running ... [23-07-27 13:06:30] INFO: Creating backup "Samba Backup 2023-07-27 13:06" [23-07-27 13:44:39] INFO: Copying backup 1c68865d (Samba_Backup_2023_07_27_13_06.tar) to share [23-07-27 13:44:39] WARNING: 1c68865d.tar does not exist [23-07-27 13:44:39] WARNING: Could not copy backup 1c68865d to share. Trying again ... [23-07-27 13:44:44] WARNING: 1c68865d.tar does not exist [23-07-27 13:44:54] INFO: Backup finished

screenshot

My suspicion is that this add-on called the backup function. since a remote folder is already setup the backup is created in the subfolder 1. Then somehow the copy from subfolder 1-->2 does not work

Kugelfang666 avatar Jul 27 '23 14:07 Kugelfang666