Backup

Backup panel for Adminetic Admin Panel

Backup Panel Module for Adminetic Admin Panel

Backup Panel module for Adminetic Admin Panel

For detailed documentaion visit Adminetic Backup Panel Module Documentation

Contains : -

  • Backup Panel Panel

Installation

Composer Install:

You can install the package via composer:

composer require adminetic/backup

Config Publish:

Publish spatie backup config

php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"

Dropbox Configuration:

Create a dropbox account and extract DROPBOX_APP_KEY,DROPBOX_APP_SECRET and DROPBOX_ACCESS_TOKEN to .env

DROPBOX_APP_KEY=
DROPBOX_APP_SECRET=
DROPBOX_ACCESS_TOKEN=

Register Dropbox As Disk:

In config/filesystems.php add following code to disks array

   'dropbox' => [
            'driver' => 'dropbox',
            'key' => env('DROPBOX_APP_KEY'),
            'secret' => env('DROPBOX_APP_SECRET'),
            'authorization_token' => env('DROPBOX_ACCESS_TOKEN'),
        ],

Add dropbox disk to config/backup.php:

  'destination' => [

            /*
             * The filename prefix used for the backup zip file.
             */
            'filename_prefix' => '',

            /*
             * The disk names on which the backups will be stored.
             */
            'disks' => [
                'local', 'dropbox'
            ],
        ],
  'monitor_backups' => [
        [
            'name' => env('APP_NAME', 'laravel-backup'),
            'disks' => ['local', 'dropbox'],
            'health_checks' => [
                \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1,
                \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000,
            ],
        ],
    ]

Screenshot:

Last updated