captive/oc-backup-plugin

Backup the mysql database of OctoberCMS

Installs: 47

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:october-plugin

pkg:composer/captive/oc-backup-plugin

dev-master 2020-09-17 17:37 UTC

This package is auto-updated.

Last update: 2025-09-10 04:44:30 UTC


README

Google Client ID and Secret Key

Command

php artisan captive:backup:db

Configuration

config/filesystem.php

    '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

BACKUP_GOOGLE_CLIENT_ID=
BACKUP_GOOGLE_CLIENT_SECRET=
BACKUP_GOOGLE_REFRESH_TOKEN=
BACKUP_GOOGLE_FOLDER_ID=