为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS-7.6
问题描述:谷歌云盘备份数据库信息时出现上传不了 日志提示已发 相关截图(日志、错误):
任务执行日志
==========================================================================================★开始备份[2023-11-03 15:42:05]==========================================================================================|-备份MySQL数据库:dzsql|-数据库大小:185.86 MB|-数据库字符集:utf8mb4|-分区/可用磁盘空间为:60.47 GB,可用Inode为:36570009|-开始导出数据库:2023-11-03 15:42:05|-数据库备份完成,耗时4.23秒,压缩包大小:22.02 MB|-正在上传到Google Drive,请稍候...Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 53, in <module> backup.backupDatabaseAll(sys.argv[3], echo_id) File "/www/server/panel/script/backup.py", line 33, in backupDatabaseAll self.backup_database_all(save, echo_id=echo_id) File "class/panelBackup.py", line 659, in backup_database_all status, backup_path = self.backup_database(db_name, save, echo_id=echo_id) File "class/panelBackup.py", line 739, in backup_database upload_path = os.path.join(self._cloud_new.obj.backup_path, "database", db_type, db_name, file_name) File "/www/server/panel/pyenv/lib/python3.7/posixpath.py", line 80, in join a = os.fspath(a)TypeError: expected str, bytes or os.PathLike object, not method----------------------------------------------------------------------------★[2023-11-03 15:42:09] Successful-----------------------------------------------------
|
|