Failed backup | mysqldump: Got errno 32 on write

CentOS Linux 7.9.2009
Webmin version 1.973
Usermin version 1.823
Virtualmin version 6.16

Hi,
I am facing problem with few of my websites during backup
Failed backup due to

Dumping MariaDB database mydb..
.. dump failed! su: cannot open session: System error

mysqldump: Got errno 32 on write

Blockquote

Full process is as under
Creating backup for virtual server mydomain.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. done

Saving mail aliases ..
.. done

Saving mail and FTP users ..
.. done

Backing up mail and FTP user Cron jobs ..
.. none to backup

Copying Apache virtual host configuration ..
.. done

Copying Apache log files ..
.. done

Copying Webalizer configuration files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MariaDB database mydb..
.. dump failed! su: cannot open session: System error

mysqldump: Got errno 32 on write

Blockquote

this thread created Past 7 days
Nobody here to help

The errno 32 on write error has to do with gzip if memory serves. When you get that error it’s typically because either your disc is full or you’re timing out the disc or CPU usage the host has in place.

First thing I would do is check to see what limits you have on the Virtual Server you’re trying to back up. Make sure that it has plenty of space allocated to it so that you’re not filling the disc up before the backup can finish.

Then I would check your execution time settings. How long is this backup taking when it crashes? Check to make sure your execution time limit is greater than the amount of time you run into when the crash occurs.