This question may be moot because tom_i replied to another question I had about backups (snapshots are all I need to back up), but I am curious if anyone has an answer to this.
I have installed my Home Assistant on a shiny new Intel NUC- works great, I wish I had done it long ago. Home Assistant is running native on Ubuntu on the NUC. (Formerly on a Raspberry Pi3).
I am using a program in Windows 10 (Syncbak free) that works like a cron task where I can schedule backups. I’ve been using it for years to back up my whole hassio config folder.
Since moving my Home Assistant to the NUC, I have had some problems with the backups regarding file permissions. The backups, by the way, are on a Debian Server acting as an NAS.
Here’s my problem… When the program runs the copy task, it fails with an error:
“Failed to copy from Source : Cannot copy file (5): Access is denied”
Again, the source is on the NUC at /usr/share/hassio, and the destination is on the Debian server at /srv/dev-disk-by-label-Dune/Dune/HassIO_Backup/. Both volumes are mounted on the Windows PC.
I tried chmod the folders and files from 644 to 777, and still, I “don’t have permissions”.
If I insist on backing up my config folder, at least the yaml files and node red nodes, is there a better process? Should I mount the backup location on the NUC and just use crontab?