Since Home Assistant reworked parts of the Backup settings in the newest Release 2025.5, I looked into it and set up automatic Backups using the WebDAV protocol to my Nextcloud instance. You can see the supported backup providers for Home Assistant on this page. I choose WebDAV and followed the instructions on the WebDAV site, added the integration and configured it using the following settings:

When I ran the first Backup, I was facing an error, containing these Entity too large
warnings:
Upload failed for webdav.01JTQCZJ4N5D847F4K1154SA6C: Backup operation failed:
Request to https://cloud.peterge.de/remote.php/dav/files/peterge/hassio.gerhards.lan/Automatic_backup_2025.5.0_2025-05-08_09.33_41423665.tar failed with code 413 and message:
b'<html>\r\n<head><title>413 Request Entity Too Large</title></head>\r\n
<body>\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n
<hr><center>nginx/1.24.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n'
But this was fixable by adding this line to my nginx configuration (I use Nextcloud for smaller things like Cookbook, Contacts, Calendar, Polls, etc. and not for huge files...):
root@blog:~# cat /etc/nginx/sites-enabled/cloud.peterge.de
[...]
client_max_body_size 1024M;
[...]
After this change, the automatic backup did work to my local and my WebDAV location:
