• Support
  • Backup to Google Drive fails

I've set up a cron job backing my site up to Google Drive.
Site is being compressed as it should but when it starts uploading this error shows.

I use "Google Drive 1.8"
Verify Google Token is succesfull

|-Uploading to Google Drive, please wait ...

|-Error:File upload error: ('invalid_grant: Bad Request', '{\n "error": "invalid_grant",\n "error_description": "Bad Request"\n}')

a month later
3 months later

dallensmith
Hi, what is the error message? Please check first if the token of google drive is correct? Check whether the network from the server to google communicates

There isnt any error message, everything says it is successful but the file never shows up
I have tried uninstalling it and reinstalling but that didnt work

    `

    |-Start backup[2022-05-14 02:25:55]

    |-Backup site: masteriller.com
    |-Website document root: /www/wwwroot/masteriller.com
    |-Directory size: 6
    |-Exclusion setting: Not set
    |-Partition / available disk space is: 175.56 GB, available Inode is: 13713379
    |-Start compressing files: 2022-05-14 02:25:56
    |-Compression completed, took 22.21 seconds, compressed package size: 399.11 MB
    |-Site backed up to: /www/backup/site/web_masteriller.com_20220514_022555.tar.gz
    |-Uploading to Google Drive, please wait ...
    Upload Success ,File ID: 13ZwjEd-0GyPRV75dWm5cf1Cba5WewYke
    |-Successfully uploaded to Google Drive
    |-User settings do not retain local backups, deleted /www/backup/site/web_masteriller.com_20220514_022555.tar.gz

    |-Keep the latest number of backups: 5 copies

    |-Backup completed[2022-05-14 02:26:41]

    ==========================================================================================

    |-Start backup[2022-05-14 02:26:41]

    |-Backup site: enviroprobasements.com
    |-Website document root: /www/wwwroot/enviroprobasements.com
    |-Directory size: 3
    |-Exclusion setting: Not set
    |-Partition / available disk space is: 175.56 GB, available Inode is: 13713380
    |-Start compressing files: 2022-05-14 02:26:43
    |-Compression completed, took 104.89 seconds, compressed package size: 2.08 GB
    |-Site backed up to: /www/backup/site/web_enviroprobasements.com_20220514_022641.tar.gz
    |-Uploading to Google Drive, please wait ...
    Upload Success ,File ID: 1TwUAHj51aptjp0-guo4L7670PHhvllo9
    |-Successfully uploaded to Google Drive
    |-User settings do not retain local backups, deleted /www/backup/site/web_enviroprobasements.com_20220514_022641.tar.gz

    |-Keep the latest number of backups: 5 copies

    |-Backup completed[2022-05-14 02:30:04]

    ==========================================================================================

    |-Start backup[2022-05-14 02:30:04]

    |-Backup site: bigscreenbadmovies.com
    |-Website document root: /www/wwwroot/bigscreenbadmovies.com
    |-Directory size: 5
    |-Exclusion setting: Not set
    |-Partition / available disk space is: 175.56 GB, available Inode is: 13713377
    |-Start compressing files: 2022-05-14 02:30:05
    |-Compression completed, took 19.69 seconds, compressed package size: 321.27 MB
    |-Site backed up to: /www/backup/site/web_bigscreenbadmovies.com_20220514_023004.tar.gz
    |-Uploading to Google Drive, please wait ...
    Upload Success ,File ID: 1FFdINS0YDNs07t0a2DJ3_w-TvuR32UI9
    |-Successfully uploaded to Google Drive
    |-User settings do not retain local backups, deleted /www/backup/site/web_bigscreenbadmovies.com_20220514_023004.tar.gz

    |-Keep the latest number of backups: 5 copies

    |-Backup completed[2022-05-14 02:30:44]

    ==========================================================================================

    |-Start backup[2022-05-14 02:30:44]

    |-Backup site: kineticsolar.energy
    |-Website document root: /www/wwwroot/kineticsolar.energy
    |-Directory size: 2
    |-Exclusion setting: Not set
    |-Partition / available disk space is: 175.56 GB, available Inode is: 13713377
    |-Start compressing files: 2022-05-14 02:30:45
    |-Compression completed, took 7.97 seconds, compressed package size: 89.01 MB
    |-Site backed up to: /www/backup/site/web_kineticsolar.energy_20220514_023044.tar.gz
    |-Uploading to Google Drive, please wait ...
    Upload Success ,File ID: 1J_bhmaHppSvVxXnx2T-s0gASQ_hmQCju
    |-Successfully uploaded to Google Drive
    |-User settings do not retain local backups, deleted /www/backup/site/web_kineticsolar.energy_20220514_023044.tar.gz

    |-Keep the latest number of backups: 5 copies

    |-Backup completed[2022-05-14 02:30:59]
    ==========================================================================================`

      dallensmith
      Hello, the log shows that the upload has been successfully uploaded to Google Drive, and the local files are deleted (the local backup files are not kept)
      Please log in to the bt_backup directory of your Google Drive account to view the files

      yes i know. but the backups are not in the google drive. that is the problem

        dallensmith
        How many Google Drive accounts do you have? If there is only one, it is recommended to re-apply for the key and set it again. Multiple accounts please check which Google Drive account is used

        i moved to a new server and installed it there while still having it on the old server, i deleted the folders after installing it on the new server because i wanted to start it fresh, i think that might be why it isnt working, i replaced the folders but it still doesnt work

        Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com