Seeing that HASSOS 5 is stable now, I endeavored to upgrade from a supervised install on Rasbpian to HASSOS 5 64-bit on my Raspberry Pi 4. However when I flash my SSD and try to upload my snapshot I get an HTTP status code 413: Request Entity Too Large with response Maximum request body size 1073741824 exceeded, actual body size 1073743456. So I guess HASSOS canât take snapshots more than 1gb? Mine is 3.58gb. Bummer thereâs no warning about that when downloading a snapshot! Iâm going to try to work around this (perhaps complete HA setup, ssh the backup to the pi, then restore? Or maybe try to strip some things out of my snapshot?) and Iâll update here with my progress.
I would suggest reporting this as a bug. Anyone who is using addons for long term data storage on their systemâs full backup is likely to be over a gig. Especially with the new âmediaâ folder.
Although, I just checked my weekly backup and theyâre significantly smaller, but I donât use either feature I just talked about
Ok this wasnât as bad as I thought it would be originally. The supervisor can handle large snapshots just fine, just not over HTTP. Hereâs what I did to work around:
Complete setup as normal
Install the Samba add on (and set a password in Configuration)
Connect to the backup share via Samba
Upload my snapshot
Go to the Supervisor -> Snapshots menu, snapshot should show up
Restore snapshot
I dug into the snapshot a bit and itâs definitely my MariaDB thatâs huge. For some reason my DB didnât restore properly anyways with the snapshot restore â still investigating why that is.
Just created a backup and tried to upload it back using the lovelace interface. I get the âUploaded snapshot is too largeâ error.
Backup is only +/-30MBâŚ
Copied over the backup using scp and all went fine⌠So the backup file itself is valid.