There could be two possible causes for such error:
- Too many queries in a limited amount of time.
- The data contained in your database is "too long". While creating the backup, we write an INSERT query for each record in the database, which length depends by the data stored in that record. If the record has an huge amount of data, bigger than the amount the database could handle, you'll get that error.
You can ask your host to increase the max_allowed_packet option inside MySQL.
This is an hard limit of MySQL configuration, you'll receive the same error even if you'll try to restore your database in "the old way" directly from PhpMyAdmin
We can workaround the first error, while for the second there's no solution, you have to ask your host but I doubt they can change MySQL configuration settings.
Davide Tampellini
Developer and Support Staff
🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!