为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:CentOS 7.9.2009 x86_64(Py3.7.9)
问题描述:使用面板的数据库备份和计划任务备份失败,备份出来的文件大小均为264B。mysql数据库版本5.7.44
----------------------------------------------------------------------------★[2025-11-20 04:00:03] Successful----------------------------------------------------------------------------/www/server/panel/pyenv/lib/python3.7/site-packages/PyMySQL-0.9.3-py3.7.egg/pymysql/_auth.py:11: CryptographyDeprecationWarning: Python 3.7 is no longer supported by the Python core team and support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.7.==========================================================================================★开始备份[2025-11-21 04:00:02]==========================================================================================|-备份MySQL数据库:kiivokms|-数据库大小:5.17 MB|-数据库字符集:utf8mb4|-分区/可用磁盘空间为:16.84 GB,可用Inode为:2373515|-开始导出数据库:2025-11-21 04:00:02==========================================================================================|-错误:备份文件大小异常,备份失败!|-请尝试数据库页面-备份-手动备份看是否正常|-或在终端执行备份执行语句查看具体错误|-备份执行语句:bash /www/backup/database/mysql/crontab_backup/kiivokms/exec_mysqls_sql.sh|-mysqldump: [ERROR] unknown variable 'query_cache_type=1'
|
|