Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Google Drive Issues - Files being removed from Drive

Discussion in 'General Discussion' started by harryk, Feb 18, 2018.

  1. harryk

    harryk Registered

    Feb 18, 2018
    Likes Received:
    Trophy Points:
    Kent, UK
    cPanel Access Level:
    Root Administrator
    I currently have my VPS backing up to Google Drive, however it appears it's removing the backups daily from my Drive alongside the retention of the server, rather than just removing the backups from the server itself to conserve disk space. My aim is to only have one backup stored on the VPS at a time, but the VPS to continuously backup daily to my Google Drive.

    Any ideas?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    There's currently no support for separate backup retention settings for each individual destination, however I encourage you to vote for the following feature request if this is something you'd like to see implemented:

    Ability to control retention for S3 Backup Destination

    The title mentions Amazon S3 destinations, but it's expanded to include any remote destination.

    As a workaround, you could set the retention period to a high number (to maintain as many copies as you need on the remote destinations), and then create a custom script that removes the local backups as part of a post backup hook:

    Guide to Standardized Hooks - Software Development Kit - cPanel Documentation
    Guide to Standardized Hooks - System Functions - Software Development Kit - cPanel Documentation

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice