Download the PHP package zarulizham/laravel-database-backup-scheduler without Composer
On this page you can find all versions of the php package zarulizham/laravel-database-backup-scheduler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zarulizham/laravel-database-backup-scheduler
More information about zarulizham/laravel-database-backup-scheduler
Files in zarulizham/laravel-database-backup-scheduler
Package laravel-database-backup-scheduler
Short Description Automate and schedule your Laravel application database to your preferred storage filesystem
License MIT
Homepage https://github.com/zarulizham/laravel-database-backup-scheduler
Informations about the package laravel-database-backup-scheduler
Automate and schedule your Laravel application database to your preferred storage filesystem
Installation
You can install the package via composer:
You can publish and run the migrations with:
This package relies on spatie/media-library
. If your project did not use spatie/media-library
package, publish its migration and/or config file.
You can publish the config file with:
To custom location of backup path, refer Spatie documentation
This is the contents of the published config file. You may modify as per your needs.
Usage
Place these two scheduler in app/Console/Kernel.php
(<= Laravel 10) or routes/console.php
(>= Laravel 11)
To specify custom retention days for backup, specify --days
option on db:backup:prune
command. Default 14 days.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Zarul Zubir
- All Contributors
All versions of laravel-database-backup-scheduler with dependencies
illuminate/contracts Version ^10.0||^11.0
spatie/db-dumper Version ^3.6
spatie/laravel-medialibrary Version ^10.0||^11.9
spatie/laravel-package-tools Version ^1.16