PHPackages                             captive/oc-backup-plugin - 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. [Database &amp; ORM](/categories/database)
4. /
5. captive/oc-backup-plugin

ActiveOctober-plugin[Database &amp; ORM](/categories/database)

captive/oc-backup-plugin
========================

Backup the mysql database of OctoberCMS

3.0.x-dev(4y ago)0471MITPHP

Since Sep 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/captive/oc-backup-plugin)[ Packagist](https://packagist.org/packages/captive/oc-backup-plugin)[ Docs](https://github.com/Captive/oc-backup-plugin)[ RSS](/packages/captive-oc-backup-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

WIP
===

[](#wip)

Google Client ID and Secret Key
-------------------------------

[](#google-client-id-and-secret-key)

- [Google Authentication](https://developers.google.com/adwords/api/docs/guides/authentication)
- [LukeTowers/oc-gdrivefilesystemdriver-plugin](https://github.com/LukeTowers/oc-gdrivefilesystemdriver-plugin/blob/master/README.md)

Command
-------

[](#command)

```
php artisan captive:backup:db
```

Configuration
-------------

[](#configuration)

### config/filesystem.php

[](#configfilesystemphp)

```
    'backup' => [
            'driver' => 'googledrive',
            'clientId' => env('BACKUP_GOOGLE_CLIENT_ID'),
            'clientSecret' => env('BACKUP_GOOGLE_CLIENT_SECRET'),
            'refreshToken' => env('BACKUP_GOOGLE_REFRESH_TOKEN'),
            'folderId' => env('BACKUP_GOOGLE_FOLDER_ID'),
        ]
```

### .env

[](#env)

```
BACKUP_GOOGLE_CLIENT_ID=
BACKUP_GOOGLE_CLIENT_SECRET=
BACKUP_GOOGLE_REFRESH_TOKEN=
BACKUP_GOOGLE_FOLDER_ID=
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1469d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd274969eec029fae13ebb4d0e718dcf0c8f28c380791ca3d485e1753b41f02a?d=identicon)[Captive](/maintainers/Captive)

---

Top Contributors

[![fansaien](https://avatars.githubusercontent.com/u/8133504?v=4)](https://github.com/fansaien "fansaien (6 commits)")

---

Tags

backupoctoberoctobercmsmysql-backup

### Embed Badge

![Health badge](/badges/captive-oc-backup-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/captive-oc-backup-plugin/health.svg)](https://phpackages.com/packages/captive-oc-backup-plugin)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k5.5M69](/packages/ifsnop-mysqldump-php)[phpbu/phpbu

PHP Backup utility.

1.3k89.0k4](/packages/phpbu-phpbu)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[pavel-mironchik/laravel-backup-panel

An interface for Spatie Laravel Backup package

41469.6k1](/packages/pavel-mironchik-laravel-backup-panel)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)

PHPackages © 2026

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