Skip to main content

Backup transport errors when backing up to Google Drive - Token refresh failed

Comments

6 comments

  • quietFinn
    Validation for transport "drive-backups" failed: Could not create path directory "/public_html/backups/": Token refresh failed at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/OAuth/Cmdline.pm line 83

    I think the path can't start with "/".
    0
  • cPanelAnthony
    Hello! We have seen this issue happen when Google API limits are hit: can you check the article
    0
  • jasoncollege24
    @quietFinn in the backup GUI, the given path has no leading / that's just what the output gives. GUI won't let you lead with a slash, even if you try. :) @cPanelAnthony Thank you! That wasn't the actual problem, but it pointed me in the right direction to locate it. This was all me. When I set it up the second time, I created a new auth for it, but placed it on the wrong project, accidentally attempting to connect it to my Google Assistant, instead of Drive. Entering/Generating the original credentials used from the original project, and re-validating resolved this instantly. How do I mark this as Solved?
    0
  • cPanelAnthony
    Jason, I'm happy to hear you got this resolved! I can mark this thread as solved on my end. Never hesitate to reach out if you have any questions.
    0
  • jasoncollege24
    This issue resurfaced again, with the exact same message, when I moved the backup destination folder up one level, and validating (created "backups" in my home directory, and pointed the destination to that directory, instead of the one in my public_html directory... trying to make backups publicly inaccessible for the short time they're there). I checked quotas, and they are higher than those recommended in the link concerning Google API limits (20,000 requests per 100 seonds), and the API in use is correct this time.
    0
  • jasoncollege24
    Apparently this forum doesn't allow editing of posts. I reverted the destination back to the original (working) destination, and tried again, with the same results. Also, it turns out this problem was never actually resolved. The backup for December 1st was never copied to the intended destination, or to my Google Drive. I'm thinking I might just need to forget this option, as it neither seems intuitive, or stable.
    0

Please sign in to leave a comment.