@quizzical
I had the same issue and as you said removing the files that I had renamed solved it. One question, have you figured out how to âresetâ the sensor statistics so I can get failures back at 0 again. It makes it easier to notice a failure (this issue went on for a while before I figured it out, so my failed count is high).
No sorry I donât. By the way my failed count is 0, but I never reset it on purpose. Could for example be due to the fact that I did a fresh HA install and then restored a snapshot not so long ago.
Thanks. I tried updating the failed count via the dev state tool. It reset it to 0 but it did not stay at 0 beyond a restart, so the value is being stored somewhere, I just canât figure out where. I tried uninstalling the add-on and then installing it again but no luck. The value is being stored somewhere in HA core, just not sure where. I will keep looking and update this post if I figure it out.
Thank you for this add-on. Share configured fine, receiving the following WARNING re null when calling service, and not seeing snapshot file in share folder:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:22:13] INFO: Host: 10.0.0.2
[10:22:13] INFO: Share: Backups
[10:22:13] INFO: Target Dir: HomeAssistant
[10:22:13] INFO: Keep local: 2
[10:22:13] INFO: Keep remote: 5
[10:22:13] INFO: Trigger time: 02:00
[10:22:13] INFO: Trigger days: Mon Wed Fri Sun
[10:22:27] INFO: Backup running ...
[10:22:27] INFO: Creating snapshot "Samba Backup 2021-07-17 10:22"
[10:22:28] INFO: Copying snapshot null (Samba_Backup_2021_07_17_10_22.tar) to share
[10:22:28] WARNING: null.tar does not exist
[10:22:28] WARNING: Could not copy snapshot null to share. Trying again ...
[10:22:33] WARNING: null.tar does not exist
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
This eventually went away once a snapshot was created. I think I jumped the gun as it took almost an hour for the first snapshot to complete. Once was done, works great.
Using the addon here and thereâs some breaking change incoming that might break the addon.
The ha cli command to snapshot will be replaced from ha snapshots to ha backups
As this is merged to dev i think it will be out on next beta. Maybe time to prepare the change for the addon ?
CLI will still have an alias to accept ha snapshotscommand but how much time ?
Iâm trying to configure the add-on to access my Time Capsule but it keeps giving me an error, although the service smb from the Time Capsule is available on my network and accessible either on my Mac or IPAD (Documents app).
Do you know if there is any incompatibility specific to the Time Capsule?
I like this addon a lot! Using it for some weeks now. Iâm now closing down my Unifi network. My Hass server is running on a different VLAN than my NAS. Itâs on my NAS I want this addon to store the backups.
Unfortunately when I setup a firewall rule to only allow SMB traffic from Hass to NAS it fails. When I open up all ports, it works. So Iâm missing out on one or more ports which I should allow, can you help me with that. These ports are in my allow list now:
137
138
139
445
The âha-backupsâ is the root. Just in case I put a couple of folders in there, one with the same name and one with a new name. Restarted and reran. No backup. The trace shows it start then finish in 10 seconds. Normal log:
[s6-init] making user provided files available at /var/run/s6/etcâŠexited 0.
[s6-init] ensuring user provided files have correct permsâŠexited 0.
[fix-attrs.d] applying ownership & permissions fixesâŠ
[fix-attrs.d] done.
[cont-init.d] executing container initialization scriptsâŠ
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:24:51] INFO: Host: 192.168.3.33
[21:24:51] INFO: Share: ha-backups
[21:24:51] INFO: Target Dir: ha-backups
[21:24:51] INFO: Keep local: all
[21:24:51] INFO: Keep remote: all
[21:24:51] INFO: Trigger time: manual
Just not enough details for problem determination for a quasi-newbie.
It worked the first time when I installed in a couple of weeks ago then nothing sense.