谷歌云盘备份出错
==========================================================================================★开始备份[2023-03-17 03:18:30]==========================================================================================|-网站根目录:/www/wwwroot/aboutooo|-目录大小:1.10 GB|-排除设置:未设置|-分区/可用磁盘空间为:26.59 GB,可用Inode为:2462794|-开始压缩文件:2023-03-17 03:18:31|-文件压缩完成,耗时50.25秒,压缩包大小:427.44 MB|-网站已备份到:/www/backup/site/web_about.ooo_20230317_031830.tar.gz|-正在上传到Google Drive,请稍候...Traceback (most recent call last): File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 771, in <module> q.execute_command(sys.argv) File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 701, in execute_command backup_tool.backup_site(args[2], save=int(args[3])) File "class/panelBackup.py", line 398, in backup_site if self._cloud.upload_file(dfile,'site'): File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 350, in upload_file file = drive_service.files().create(body=file_metadata, media_body=media, fields='id').execute() File "/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/http.py", line 827, in execute _, body = self.next_chunk(http=http, num_retries=num_retries) File "/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/http.py", line 988, in next_chunk headers=headers) File "/www/server/panel/pyenv/lib/python3.7/site-packages/google_auth_httplib2.py", line 198, in request uri, method, body=body, headers=request_headers, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/httplib2/__init__.py", line 1991, in request cachekey, File "/www/server/panel/pyenv/lib/python3.7/site-packages/httplib2/__init__.py", line 1690, in _request content,httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.清空
|
|