Nextcloud as Webdav target for synology Hyperbackup

Nextcloud version (eg, 20.0.5): 24.04
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx 1.23.1
PHP version (eg, 7.4): 8.1

I usig this nextcloud VM as target for backup software.

Synology NAS should backup there via Webdav.
I copied all files via webdav on my linux desktop to nextcloud backup user but if hyperbackup will run the backup task, i geht: “Exception occurred while backing up data. [Reason: Request Entity too large]”

i cannot find anny errors on nexcloud or nginx side.

/etc/nginx/conf.d/nextcloud.conf

client_max_body_size 1000000000G;
client_body_timeout 3600s;
client_body_buffer_size 512k;

/etc/php/8.1/fpm/php.ini


; Maximum allowed size for uploaded files.
; PHP: Description of core php.ini directives - Manual
upload_max_filesize = 1000000G

; Maximum number of files that can be uploaded via a single request
max_file_uploads = -1

I think it is not a good idea to backup Synology NAS to WebDAV Nextcloud.
WebDAV is not a nice protocol for backups and WebDAV Nextcloud is even more unsuitable.
Maybe if you first zip all files and only store one file in your Nextcloud is ok.

Nextcloud is suitable for almost everything. Maybe soon also for making coffee :coffee:. However, I would not use Nextcloud as backup storage.

For backup storage use e.g. an external usb drive on your NAS and copy the data directly to the usb drive. Then you can also use incremental backups. In Nextcloud you should only store the data that you want to access online and that you want to share with third parties, for example.

I Found a solution.

I Deactivate client_max_body_size

earlyer i set it to 1G but this wont work

1 Like