New backup to NAS How-To?

Thanks mituns,
your solution now works for Synology with NFS.

  1. Important was to use at Synology client definition the IP adress and not “homeassistant”. The name couldn’t probably not been resolved (other clients like “solaranzeige” works fine).
  2. Don’t forget in the end to go on HA to Backup and change (by using the three dots at the upper right corner) the standard backup path to the new created networks storage because it will stay directed to the local card otherwise! What is the list usage (Backup, media,…) in the network storage dialogue good for? Bug or feature?

With Samba Backup it was possible to say keep e.g. only the last 10 backups.
I am wondering how to setup this now with the NAS Backup functionality in HA?
Has anyone a solution for that?

All the examples I see for NAS backup seem to be Synology drives.

Would something like this work?

https://www.amazon.com/Diskless-Cloud-Network-Attached-Storage/dp/B01AWH05KK/ref=sr_1_1?crid=2K2H0T9YHZSQJ&keywords=WD+Diskless+My+Cloud+EX2+Ultra+Network+Attached+Storage&qid=1687802962&s=electronics&sprefix=wd+diskless+my+cloud+ex2+ultra+network+attached+storage%2Celectronics%2C304&sr=1-1&ufe=app_do%3Aamzn1.fos.f5122f16-c3e8-4386-bf32-63e904010ad0

My GUESS is no. Unless you can setup a share on the mycloud for full anonymous access. The problem is Hassio does not have a place to enter a uesername and password yet.

I would really recomend a Synology DS 220+ 300 bucks without a drive. It can do a lot more than the WD Mycloud. I added ram to mine and actually run HA in a VM on it

Mycloud does work, I have HASS set up to backup to my EX2 ultra and it works fine. Synology are probably better, they are certainly more popular and seem to be more capable but if you can get an EX2 Ultra for a good price know that it will connect to HASS.

Thanks, mituns! Now it works on my system as well!

Thanks! This worked for me.

Hi,
i’ve crated a share on my NAS and added this share via the network storage integration in system > storage.

Now i struggle a little bit how i can save e.g. the automations.yaml to that share via an automation.

Any ideas which service can handle this?

I think it just automatically goes there

For everyone here who has trouble with connecting the NAS to HA via Samba and the above solutions doesn’t work:
Try to install cifs-utils on the HA-System, else the HA system can’t mount a samba folder

sudo apt install cifs-utils

This solved the error for me

3 Likes

Hi, I have Home Assistant installed on Raspberry and a Synology DS214 Nas. What could I use as the easiest way to schedule a daily backup?
Easier because I’m not very expert

Thanks, that helped. Couldn’t get NFS to work, but CIFS with protocol set to 3 worked. I have now moved my backup folder to a “Backup” shared folder on my Synology NAS.

Yep, for me too, thanks !

hey there,

did you find a way to see this option? I also run Home Assistant in a self hosted docker, but can’t see the storage option

1 Like

Your’re amazing. I had to use apk add cifs-util but after that I was finally able to add my Synology NAS as network storage via Tailscale to HA :partying_face:

Hi all,

Trying to add a network share to my Synology NAS for backups. It keeps failing with that unhelpful message:

Mounting Backup did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-Backup.mount for details.

I tried everything that’s suggested in this thread, but nothing does help. Did someone figure out where the error message is referring to? I’d love to know where that “unit mnt-data-supervisor-mounts-Backup.mount” is, so I can look for details there.

As the message suggest, check the logs.

Go to Settings/System/Logs and at the top right select either Supervisor for the Supervisor logs or Host for the Host logs.

Otherwise, if you state what operating system or HA setup you are using then it helps other to guess bettet what is your problem.

“The logs” is not exactly clear. There are quite a lot of logs, and I honestly do not know which logs I should check this time.

Fair enough. I’m running Home Assistant OS on an Odroid N2+.

Look at the host logs just after you tried to mount it, as the message says. It is not rocket science…

The operation is executed by the supervisor through the host on HA OS.

The log would tell you more what is the issue.

Phew, I’m relieved. You see, I’m no rocket scientist… :wink:

That said. “the host logs” still doesn’t ring a bell. Can you point me to some documentation where is explained what “host logs” are and where I can find them?