adminetic / backup
Backup Panel For Adminetic Admin Panel
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^7.4|^8.0
- spatie/flysystem-dropbox: ^3.0
- spatie/laravel-backup: ^8.1
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-16 14:55:34 UTC
README
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.