ismat / backup
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 2
Open Issues: 0
pkg:composer/ismat/backup
Requires
- php: ^7.0
- ext-mbstring: *
README
This package for backup your database with artisan command line
Getting Started
Installing
You install package from packagist.com with composer
composer require ismat/backup
After installation publish backups folder to storage and config to config path with this command
php artisan vendor:publish --provider="Modules\Backup\Providers\BackupServiceProvider"
Then create folder in storage path as backups like this
../storage/backups
Usage
For backup all tables in database run this command
php artisan db:backup
Options of command
--table -t [--table=test or -t test] | Backup only one table
--data -d [--data=1 or -d 1] | Backup only data not table structure
Authors
- Ismat Babirli - Backend Engineer - Iron Man
License
This project is licensed under the MIT License - see the LICENSE.md file for details