daycode/artisan-backup
最新稳定版本:v1.0.0
Composer 安装命令:
composer require daycode/artisan-backup
包简介
Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup
README 文档
README
Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup
Installation Guide
composer require daycode/artisan-backup
Go to config/app.php, then put these code on service providers
'providers' => [ /* * Package Service Providers... */ \DayCod\ArtisanBackup\ArtisanBackupServiceProvider::class, ],
Last, for make sure this package installed correctly.
composer dump-autoload && php artisan optimize:clear
Default Artisan Backup Directory Structure
├── ... ├── database | ├── ... | ├── backup | | ├── mysql | | | ├── sql | | | ├── json | | └── ... | └── ... └── ...
Usage Guide
MySQL Backup
SQL Format
php artisan backup:mysql -t sql
Or
php artisan backup:mysql --type=sql
JSON Format
php artisan backup:mysql -t json
Or
php artisan backup:mysql --type=json
Contributors
License
This project is released under the MIT license.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27