2017 © Pedro Peláez
 

library laravel-mysql-s3-backup

Backup the MySQL database of your Laravel app to Amazon S3

image

fitztrev/laravel-mysql-s3-backup

Backup the MySQL database of your Laravel app to Amazon S3

  • Friday, August 8, 2014
  • by fitztrev
  • Repository
  • 2 Watchers
  • 10 Stars
  • 243 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel MySQL to S3 Backup

This is a very simple database backup script for Laravel. It takes a mysqldump and optionally saves it to Amazon S3., (*1)

This package is very opinionated. Other backup scripts can support other database types or other places besides S3 to store your backup. This does not., (*2)

Installation

  1. Add it to your composer.json:, (*3)

    "fitztrev/laravel-mysql-s3-backup": "dev-master"
    
  2. Update your composer packages, (*4)

    $ composer update
    
  3. Update app/config/app.php:, (*5)

    'providers' => array(
        ...
        'Fitztrev\LaravelMysqlS3Backup\LaravelMysqlS3BackupServiceProvider',
    ),
    
  4. Publish and edit the config, (*6)

    $ php artisan config:publish fitztrev/laravel-mysql-s3-backup
    

    Edit app/config/packages/fitztrev/laravel-mysql-s3-backup/config.php:, (*7)

    's3' => [
        'key'    => 'AMAZON_API_KEY',
        'secret' => 'AMAZON_API_SECRET',
        'bucket' => 'your-bucket-name',
    ],
    

Usage

$ php artisan db:backup

That's it. No arguments or optional parameters., (*8)

The Versions

08/08 2014

dev-master

9999999-dev

Backup the MySQL database of your Laravel app to Amazon S3

  Sources   Download

The Requires

 

by Trevor Fitzgerald