There is no license information available for the latest version (v1.2.4) of this package.

A tool to add automatic backups to Google Drive

v1.2.4 2019-04-17 14:14 UTC

This package is auto-updated.

Last update: 2020-02-17 16:12:53 UTC


This will not be visible in your Google Drive UI


php artisan vendor:publish --provider="RobertAskam\BackupGoogleDrive\DriveBackupServiceProvider"

Go to config/drivebackup and set the necessary vars

Google API

  • Go to
  • Click APIS & Services
  • Click Library and Enable Google Drive
  • Click Credentials
  • Open the drop down in the middle that says create credientials and click Service Account Key
  • Create new service account
  • Role->Select Project then Owner
  • Make sure JSON is selected
  • Click create and copy the downloaded file into you Storage Folder and call it secret.json


To run manually use

php artisan drivebackup:run

Or to Schedule just add the following to your Kernel



To run manually use the following command, select the backup name you want, this will save it in Storage/app database name

php artisan driverestore:run

Donate using Liberapay