2017 © Pedro Peláez
 

library backup-manager

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

image

amitavroy/backup-manager

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  • Wednesday, April 25, 2018
  • by amitavroy
  • Repository
  • 3 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 9 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Backup-Manager

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc., (*1)

Installation

Auto discovery

If you are using Laravel 5.6, then this package supports auto-discovery and so you don't need to do anything and can directly skip to the configuration part., (*2)

Normal installation

To install the package, run the following command, (*3)

composer require amitavroy/backup-manager

Add the service provider inside app.php, (*4)

Amitav\Backup\BackupServiceProvider::class,

After adding the service provider, publish the config file using, (*5)

php artisan vendor:publish --provider="Amitav\Backup\BackupServiceProvider"

Configuration

The config file contains documentation on folder structure and other details. If you are using any other file system like S3, you will need to ensure the env variables are setup for the backup to work., (*6)

Some important env variables explained:

Variable name Description Default
BACKUP_FOLDER_NAME This is the folder name where the backups will be stored. DB_DATABASE env
BACKUP_DB_FILENAME This is the file name used along with time at the end DB_DATABASE env
BACKUP_STORAGE_DRIVER This is the Storage disk which will be used to upload the file. local

If you are using S3 file system you will need to run the below command to pull the package, (*7)

composer require league/flysystem-aws-s3-v3

For this package to automatically take backup of the database, you need to add the command in you Kernel.php inside the app\Console folder., (*8)

Example:, (*9)

protected $commands = [
    BackupDatbase::class,
];

$schedule->command('backup:database')->daily();

The Versions

25/04 2018

dev-development

dev-development

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  Sources   Download

The Requires

 

The Development Requires

by Amitav Roy

22/04 2018

dev-master

9999999-dev

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  Sources   Download

The Requires

 

by Amitav Roy

19/04 2018

1.0.3

1.0.3.0

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  Sources   Download

The Requires

 

by Amitav Roy

18/04 2018

1.0.2

1.0.2.0

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  Sources   Download

The Requires

 

by Amitav Roy

18/04 2018

1.0.1

1.0.1.0

This Laravel package allows you to create a backup of your database. You can use any file system which Laravel supports like S3, FTP, local etc.

  Sources   Download

The Requires

 

by Amitav Roy

18/04 2018

1.0.0

1.0.0.0

A backup utility for my projects

  Sources   Download

The Requires

 

by Amitav Roy