Download the PHP package wladmonax/laravel-db-backup without Composer
On this page you can find all versions of the php package wladmonax/laravel-db-backup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wladmonax/laravel-db-backup
More information about wladmonax/laravel-db-backup
Files in wladmonax/laravel-db-backup
Package laravel-db-backup
Short Description Backup and restore databases. Encrypting dumps. Save dumps to db and uploading to Dropbox. Restore dump from Dropbox.
License MIT
Informations about the package laravel-db-backup
laravel-db-backup
Based off of https://github.com/schickling/laravel-backup with support for Laravel 5.*.
Installation
Run composer command :
Or
Update your composer.json
file to include this package as a dependency
Register the service provider by adding it to the providers array in the config/app.php
file.
or
Run command to creating tables:
Configuration
Copy the config file into your project by running
This will generate a config file like this
All settings are optional and have reasonable default values.
Usage
Backup
Creates a dump file in app/storage/dumps
Use specific database
Need ecnrypt db
Save dump to dropbox
You can merge options like this
Upload to AWS S3
You can use the --keep-only-s3
option if you don't want to keep a local copy of the SQL dump.
Uses the aws/aws-sdk-php-laravel package which needs to be configured.
Uses the spatie/flysystem-dropbox package.
Restore
Paths are relative to the app/storage/dumps folder.