| Package Data | |
|---|---|
| Maintainer Username: | yashbarot |
| Maintainer Contact: | yashce04@gmail.com (Yash Barot) |
| Package Create Date: | 2016-09-16 |
| Package Last Update: | 2017-02-08 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-14 15:03:20 |
| Package Statistics | |
|---|---|
| Total Downloads: | 67 |
| Monthly Downloads: | 2 |
| Daily Downloads: | 0 |
| Total Stars: | 4 |
| Total Watchers: | 2 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Take Database backup in Laravel using following command
php artisan run:dbbackup
Let's take backup of specific tables only using following command
php artisan run:dbbackup --tables=table1,table2,table3
Ahaa Supercool, You can use this command to backup your Log tables separatly.
mysqldump)To get the latest version of Laravel DbBackup, run following using Composer :
composer require webelightdev/laravel-dbbackup dev-master
Or, you may manually update require block and run composer update
"require": {
"webelightdev/laravel-dbbackup": "dev-master"
}
Once Laravel DbBackup is installed, You need to register the Service Provider in config/app.php, Add following in providers :
Webelightdev\LaravelDbBackup\DbBackupServiceProvider::class,
composer dump-autoload will be required.
To publish the config,
php artisan vendor:publish --provider="Webelightdev\LaravelDbBackup\DbBackupServiceProvider"
The MIT License (MIT). Please see License File for more information.