ismat / backup
v1.1.6
2019-07-19 06:57 UTC
Requires
- php: ^7.0
- ext-mbstring: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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