🖥️
Adminetic
  • Introduction
  • What is Adminetic
  • Prerequisites
  • Installation
  • Configurations
  • Modules
    • User Management
    • Role Management
    • Settings
    • Preference
    • Activity
  • Commands
    • CRUD Generator
    • Permission Generator
    • Repo Generator
    • Superuser Generator
    • Dummy Generator
    • API Generator
    • Helper Command
  • Services
    • OAuth
    • MyMenu
    • MyDashboard
    • 😎Bouncer
    • 💻CLI
  • Change Logs
  • Github Repo
  • Addons
    • Announcement
    • Contact
    • Website
    • Notify
    • Backup
    • Google Analytics
    • Business Hour
    • Newsletter
  • Example Walkthrough
Powered by GitBook
On this page
  • Backup Panel Module for Adminetic Admin Panel
  • Installation
  • Composer Install:
  • Config Publish:
  • Dropbox Configuration:
  • Screenshot:

Was this helpful?

  1. Addons

Backup

Backup panel for Adminetic Admin Panel

PreviousNotifyNextGoogle Analytics

Last updated 1 year ago

Was this helpful?

Backup Panel Module for Adminetic Admin Panel

Backup Panel module for Adminetic Admin Panel

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:

For detailed documentaion visit

Backup Panel
Adminetic Backup Panel Module Documentation
Latest Version on Packagist
Downloads
StyleCI
Stars
License