edgar_melkonyan / backup_database
This package backups db
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/edgar_melkonyan/backup_database
This package is auto-updated.
Last update: 2025-12-06 00:15:56 UTC
README
BackupDatabase is package which made to backup data from MySQL and save inside storage folder
Installation
- Go to app/Console/Kernel.php and do the following
1 Use namespace
use EdgarMelkonyan\BackupDatabase\BackupDatabase;
2 Write class inside commands array
protected $commands = [ BackupDatabase::class ];
3 Provide how ofter you want this command to run ex`
protected function schedule(Schedule $schedule) { $schedule->command('db:backup') ->daily(); }
Testing
php artisan db:backup
License
MIT