为了能快速了解并处理您的问题,请提供以下基础信息:
免费版9.1.0
系统:CentOS 7.9.2009 x86_64(Py3.7.8)
不知道什么时候开始,计划任务无法自动备份网站和数据库,以前是可以的
- ----------------------------------------------------------------------------
- Traceback (most recent call last):
- File "/www/server/panel/script/backup.py", line 37, in <module>
- backup = backupTools()
- File "class/panelBackup.py", line 115, in __init__
- self.check_databases()
- File "class/panelBackup.py", line 1992, in check_databases
- sel_res = cur.execute("SELECT name FROM sqlite_master WHERE type='table' and name in ({})".format(table_key))
- sqlite3.DatabaseError: database disk image is malformed
- ----------------------------------------------------------------------------
- ★[2024-09-02 10:27:42] Successful
- ----------------------------------------------------------------------------
复制代码- ----------------------------------------------------------------------------
- Traceback (most recent call last):
- File "/www/server/panel/script/backup.py", line 37, in <module>
- backup = backupTools()
- File "class/panelBackup.py", line 115, in __init__
- self.check_databases()
- File "class/panelBackup.py", line 1992, in check_databases
- sel_res = cur.execute("SELECT name FROM sqlite_master WHERE type='table' and name in ({})".format(table_key))
- sqlite3.DatabaseError: database disk image is malformed
- ----------------------------------------------------------------------------
- ★[2024-09-02 10:18:08] Successful
- ----------------------------------------------------------------------------
复制代码
|
|