Google Drive Issues - Files being removed from Drive


Feb 18, 2018
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?


Staff member
Apr 11, 2011

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.