cPanel® Blog

Server Backups Just Got More Interesting

 

Send Your Server Backups to Google Drive

You requested and we’ve delivered. Striking the number 4 most requested feature off of our to do list, we’ve made backing up your websites more versatile and more powerful than ever.

Now in version 66 of cPanel & WHM, hosting providers can back up their websites to Google Drive. No more taking up space on your local machine, this update allows system administrators to use 15 gigs of free Google Drive cloud storage to remotely store their data and access it from anywhere in the world.

“We’re pretty excited to deliver a highly requested feature that’s going to be saving people money,” says Koree Smith, a cPanel Product Owner. “We chose to use Google Drive for remote backups because of its speed — but it’s only the first step in a series of really exciting updates we’re making to the backup process.”  

As with many of our highly requested features, cPanel enthusiasts had already been creating work arounds and hacks to sync and backup their data to Google Drive. Now, all system administrators have to do to start using Google Drive as a remote backup destination is to set up the Google Drive API for your Google account, create account credentials, then head to WHM to create a transport.

 

Minimum Free Disk Space Update

Also included in our backup updates are our enhancements to the minimum free disk space. New installs of cPanel will check for a minimum 5% of free disk space before allowing backups on your machine by default. Users can adjust the minimum allowance by percentage of space, megabytes, or choose to completely disable this feature altogether.

Allotted disk space for backups can save a lot of headaches down the line so head to Backup Configs in WHM and make sure the Enabled box is checked under the Minimum Free Disk Space Check section.

JR

JR Miller is a Copywriter and Social Media Marketer. A trained wordsmith and a prolific idea guy, he spends his time developing the voice, tone, and messaging for cPanel.

  • Amr Elsheikh

    Hello,
    Can you describe how to restore the Full backup from Google Drive in details please ? in case I want to restore a single account or a full server backup

  • David J. Bookbinder

    This is a “for dummies” question, but here it goes: I was able to set up Google Drive as a backup destination, but it’s not clear to me how I would restore my system from Google Drive in the event of a server crash. Can I do that directly from WHM and have WHM Backup fetch the files from Google Drive, or would I have to somehow transfer the appropriate backup files to my server first? The latter, of course, is not an optimal solution, as these files are too big to FTP from my slow Internet connection.

    Thanks,
    David

  • Alan

    So how does one add a new backup to Google Drive, if one is already currently having a backup going to Amazon S3. Or perhaps I should ditch S3 in favour of Google Drive?

    • benny Vasquez

      You can add as many remote destinations as you’d like in WHM. So, to add a new backup you would just add a second destination for your backups.

      • Alan

        Thanks @cPanelbenny:disqus. However, I currently have full (compressed) backups going to S3. on a weekly basis. How can I add incremental daily backups for Google Drive ? I guess what I am needing is two backup profiles – one for weekly S3 and one for daily GD, but it does not seem to be possible in WHM backup configuration.

  • Matias Fabian Lecaros Aranis

    Hello everyone, I’ve just setup my GDRIVE backing up, but I keep getting a “transport error”, I’m positive on the fact that some of the backups are really big, around 20GB, anyone could help me out?

    • benny Vasquez

      Hi there! Unfortunately the blog comments aren’t a great place for support conversations. Definitely either take a look at our forums ( forums.cpanel.net ) or open a ticket with our support team. We’ll get you squared away!

      • Matias Fabian Lecaros Aranis

        Ooook, thanks 😀

        • benny Vasquez

          No problem! Sorry I couldn’t help more here!

  • Uk

    Does it mount the google drive or do backups still thrash the local ssds to create the backups before transferring?
    We are currently looking for a better solution which uses mounted drives. Our sshfs doesn’t work with incremental.

    • benny Vasquez

      It still writes the backups to the local disk and then transfers it to the remote destination.

  • Underpricedhost Notification

    I have started backing up at google drive. One hour past but still i dont see any backup’ed files in google drive.
    how much time it will take.
    AM backing up 400GB worth of cpanel accounts

    • benny Vasquez

      It depends on when backups run on your server. Unless you manually trigger a backup run, you’ll need to wait until the next time backups are run.

      • Underpricedhost Notification

        The backups have now fired and are getting stored in google drive.
        1) Am seeing a file cpanelusername-=-meta in addition to cpanelusername.tar.gz
        What is that meta file. Is it needed for restoration or we can delete it.

        2) The way it is now easy to do backup on google drive, is it in same fashion easy to restore on a new cpanel/whm server ?

        • benny Vasquez

          1) The meta file is important for the tracking of the files inside the backups, so you’ll definitely want to leave it there.

          2) Unfortunately remotely stored backups can’t be restored yet without moving them manually to the local server, but that’s something we’re definitely working on for a future version.

          • Underpricedhost Notification

            Believe it or not cpanel/whm is 3rd class as far as backup/restore is concerned.

            I have 750+ cpanel accounts on server.
            and on every backup day, the server goes offline and so many customers complain up.

            dont your programmers have brain.
            Do you start the backup of all 750+ accounts at a time on server ?????
            Should you not backup oone account then another, then another and so on.

            Now my server is offline, how to force stop the backup.

  • Any chance of adding Microsoft OneDrive? MS Office users get 1TB of space. I currently use SFTP to a local box and then have to drag them up manually to OneDrive.

    • asheboro

      I was wondering the same. I remember OneDrive was mentioned along with Google Drive on the original post in the feature requests that prompted this. Depending on your service with Microsoft, you may have 5 1TB accounts, so OneDrive would be a great addition.

    • benny Vasquez

      Unfortunately no, that’s not something we’re planing to add at this time. If that changes we’ll talk about it here: https://features.cpanel.net/topic/add-remote-backup-destination-microsoft-one-drive

  • chrismfz

    Users can add their own Google Credentials to backup their files on their own Google Drives (in Backup wizard for example inside user’s cPanel). If not, sounds interesting enough for a feature request?

  • Mohammed Ali AlMatari

    Wow this is very useful !

  • Will this run incremental backups to Google Drive, or only compressed?
    Should we expect any trouble if we backup more than 10 servers daily there?

    • benny Vasquez

      Currently it only works with compressed, and incremental backups only works with the Rsync remote destination. Performance isn’t something we can anticipate, but in theory you should be fine, as long as you use different destination folders for each server.