hmrserver/GBackup

Error while uploading

Opened this issue · 1 comments

Hi;

Thanks for a such script.

I encountered these errors:

Compressing all files for Upload.....
tar: Removing leading `/' from member names
tar: /var/www/vhosts/serverkurma.com/httpdocs/wp-content: file changed as we read it


Uploading Gbackup_04-11-2018.tar.gz at Google Drive...
Failed to get file: googleapi: Error 404: File not found: --delete., notFound

Clearing Junk files...
-> Removing /tmp/Server_Backup
Done!

new_folder=$(gdrive mkdir --parent "$backup_folder")

line should be

new_folder=$(gdrive mkdir "$backup_folder")

because it is new folder so none parent