Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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