webelightdev/laravel-dbbackup

Laravel Database backup package.
67 4
Install
composer require webelightdev/laravel-dbbackup
Latest Version:v1
PHP:>=5.5.9
License:MIT
Last Updated:Feb 8, 2017
Links: GitHub  ·  Packagist
Maintainer: yashbarot

Laravel Database backup plugin

Software License Build Status StyleCI Scrutinizer Code Quality Code Coverage Total Downloads

Take Database backup in Laravel using following command

php artisan run:dbbackup

Let's take backup of specific tables only using following command

php artisan run:dbbackup --tables=table1,table2,table3

Ahaa Supercool, You can use this command to backup your Log tables separatly.

Requirements

  • Laravel Filesystem
  • Mysql Installed (mysqldump)

Installation

To get the latest version of Laravel DbBackup, run following using Composer :

composer require webelightdev/laravel-dbbackup dev-master

Or, you may manually update require block and run composer update

	"require": {
	    "webelightdev/laravel-dbbackup": "dev-master"
	}

Once Laravel DbBackup is installed, You need to register the Service Provider in config/app.php, Add following in providers :

Webelightdev\LaravelDbBackup\DbBackupServiceProvider::class,

composer dump-autoload will be required.

To publish the config,

php artisan vendor:publish --provider="Webelightdev\LaravelDbBackup\DbBackupServiceProvider"

License

The MIT License (MIT). Please see License File for more information.

Related Packages

spatie/laravel-backup

A Laravel package to backup your application

27,233,552 6,021
laravel-doctrine/migrations

Doctrine Migrations for Laravel

2,975,348 78
laravel/database

Get Laravel database for your non laravel projects. Built on top of illuminate/d...

36,276 90
lrezek/neo4laravel

Hire voice OGM provider and facade for Laravel.

161 18