PHPackages                             robertaskam/laravel-google-drive-backup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. robertaskam/laravel-google-drive-backup

AbandonedLibrary[File &amp; Storage](/categories/file-storage)

robertaskam/laravel-google-drive-backup
=======================================

A tool to add automatic backups to Google Drive

v1.2.4(7y ago)42383PHP

Since Jan 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rbaskam/laravel-google-drive-backup)[ Packagist](https://packagist.org/packages/robertaskam/laravel-google-drive-backup)[ RSS](/packages/robertaskam-laravel-google-drive-backup/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (8)Used By (0)

This is a Service Account Backup of your MySql DB to Google Drive
=================================================================

[](#this-is-a-service-account-backup-of-your-mysql-db-to-google-drive)

This will not be visible in your Google Drive UI
------------------------------------------------

[](#this-will-not-be-visible-in-your-google-drive-ui)

### Setup

[](#setup)

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

Go to config/drivebackup and set the necessary vars

### Google API

[](#google-api)

- Go to
- Click APIS &amp; 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-&gt;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

### Backup

[](#backup)

To run manually use

```
php artisan drivebackup:run
```

Or to Schedule just add the following to your Kernel

```
$schedule->command('drivebackup:run')->daily();
```

### Restore

[](#restore)

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](https://camo.githubusercontent.com/f42d4c8650291eed95d5feb7658604d653ad107d3308fb7e8f269623d7ed65cf/68747470733a2f2f6c69626572617061792e636f6d2f6173736574732f776964676574732f646f6e6174652e737667)](https://liberapay.com/rbaskam/donate)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~117 days

Total

7

Last Release

2582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22d191438a5dd055cfc975abf6259dabec0549580dbee3bb012571e8875c4733?d=identicon)[rbaskam](/maintainers/rbaskam)

---

Top Contributors

[![rbaskam](https://avatars.githubusercontent.com/u/13821245?v=4)](https://github.com/rbaskam "rbaskam (8 commits)")

### Embed Badge

![Health badge](/badges/robertaskam-laravel-google-drive-backup/health.svg)

```
[![Health](https://phpackages.com/badges/robertaskam-laravel-google-drive-backup/health.svg)](https://phpackages.com/packages/robertaskam-laravel-google-drive-backup)
```

###  Alternatives

[nao-pon/flysystem-google-drive

Flysystem adapter for Google Drive

3672.0M20](/packages/nao-pon-flysystem-google-drive)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2631.7M14](/packages/masbug-flysystem-google-drive-ext)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
