I've got a Pi 4b that is booting/running from a ssd and running some home automation software (Home Assistant) that creates backups and places them in
/usr/share/hassio/backup. This location for the backups cannot be changed.
I've added a usb drive that I would like to place the backups on, so that if the SSD fails I still have the backups. I removed all the backups from the backup folder and then mounted my usb drive with
sudo mount /dev/sdb1 /usr/share/hassio/backup to the backup folder with the aim of having backups now being stored on the usb drive rather than the primary ssd device.
However, when files are added to
/usr/share/hassio/backup, I can see via
df -h that the files are actually being placed on the SSD and not the usb drive.
Am I approaching this wrong or have I missed an important step?
Any suggestions would be appreciated.