adminetic/backup

Backup Panel For Adminetic Admin Panel

v1.0.0 2023-06-16 11:59 UTC

This package is auto-updated.

Last update: 2024-10-16 14:55:34 UTC


README

Adminetic Backup Panel Module

Latest Version on Packagist

Stars Downloads StyleCI License

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,
            ],
        ],
    ]

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email pratikdai404@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Screenshots

Backup Panel