Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismatbabirli/laravel-backup
This package for backup your database with artisan command line
https://github.com/ismatbabirli/laravel-backup
artisan-command backup backups composer database database-migrations devops laravel laravel-5-package laravel-framework mysql packages php php-library storage
Last synced: 3 months ago
JSON representation
This package for backup your database with artisan command line
- Host: GitHub
- URL: https://github.com/ismatbabirli/laravel-backup
- Owner: ismatBabirli
- License: mit
- Created: 2019-07-15T12:13:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T07:00:03.000Z (over 5 years ago)
- Last Synced: 2024-10-11T06:06:01.518Z (3 months ago)
- Topics: artisan-command, backup, backups, composer, database, database-migrations, devops, laravel, laravel-5-package, laravel-framework, mysql, packages, php, php-library, storage
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# IM database backup for Laravel
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
```$xslt
../storage/backups
```### Usage
For backup all tables in database run this command```$xslt
php artisan db:backup
```Options of command
```$xslt--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](https://github.com/ismatBabirli)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details