Snapshot won't store on Google Drive

After running a snapshot it fails and won't store on google drive. Google drive destination has been set up correctly.

  • Adam Czajczyk

    Hello Julius,

    I hope you're well today and thank you for your question!

    I'd like to take a look at the WP debugging output. Could you please enable WP debugging?

    To do this, add following lines to the "wp-config.php" file of your site:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DiSPLAY', false);

    Make sure that these lines are located above the "/* That's all, stop editing */" line and once they are there:

    - try running snapshot again up until it fails
    - use FTP or cPanel's "File Manager" tool to download the "debug.log" file from inside the "wp-content" folder of your site
    - rename the file to "debug.txt" and attach to your response here

    Could you also please grant me as support access to your site so I could take a closer look? To do this, please follow this guide:

    Best regards,

  • Panos

    Hi again Julius ,

    I had another closer look on your settings and I mist one last "Save" that's why I got the "Fail" message in my test. I created a new destination and seems to be working now :slight_smile:

    Lets go through them in details as it is easy to miss a step:

    1. Go to destinations page and click to create a new destination on Google Drive

    2. Give it a name and add the folder ID from your google Drive:

    The URL for the directory will be something similar to The Directory ID would be the last part after /#folders/

    3. Click on "Save Destination"

    4. Once page loads visit If you don't have a project create a new one. Make sure you select that project:

    5. Go to API Manager > Credentials to create new credentials:

    6. Click Add New Credentials > OAuth 2.0 client ID. In the next screen select the Application Type as Web application.

    7. Copy the Redirect URI from the Destination page and paste it in the Authorized redirect URIs and save the credentials.

    8. Copy the credentials from google projects page and paste them in your destination page. Make sure you don't copy any blanc spaces.

    9. Click the Authorize button. When returned back you'll need to save one more.

    After clicking Authorize, you may get some error messages. If you get them it's probably because the client key or secret may contain blanc space or because the redirect url doesn't match.

    Hope this helps!