Hello,
Recently, I got some strange error in the backup log, I will post it here to have your opinions.
Traceback (most recent call last):
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 546, in <module>
q.backup_all_site( sys.argv[3])
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 527, in backup_all_site
self.backup_site(site['name'], save)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 352, in backup_site
self.upload_file(get)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 253, 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.
★[2020/03/28 21:32:36] Site backup to FTP succeed, in [531.17] seconds
|---Keep the latest [7] backups
|---File name:/www/backup/site/20200328_212345.tar.gz
★[2020/03/28 21:35:11] Site backup to FTP succeed, in [154.44] seconds
|---Keep the latest [7] backups
|---File name:/www/backup/site/20200328_213236.tar.gz
Start upload
Traceback (most recent call last):
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 546, in <module>
q.backup_all_site( sys.argv[3])
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 527, in backup_all_site
self.backup_site(site['name'], save)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 352, in backup_site
self.upload_file(get)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 253, 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.
Start upload
Traceback (most recent call last):
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 546, in <module>
q.backup_all_site( sys.argv[3])
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 527, in backup_all_site
self.backup_site(site['name'], save)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 352, in backup_site
self.upload_file(get)
File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 253, 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,
My backup Configuration:
- Daily
- Backup all sites
- Send backup to Google Drive