webelightdev/laravel-dbbackup
Composer 安装命令:
composer require webelightdev/laravel-dbbackup
包简介
Laravel Database backup package.
README 文档
README
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.
Requirements
- Laravel Filesystem
- Mysql Installed (
mysqldump)
Installation
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"
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-28