2017 © Pedro Peláez
 

library backupmanager

Admin interface for managing backups in Backpack, on Laravel 5.2+

image

backpack/backupmanager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  • Tuesday, June 19, 2018
  • by tabacitu
  • Repository
  • 19 Watchers
  • 98 Stars
  • 49,734 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 46 Forks
  • 0 Open issues
  • 31 Versions
  • 12 % Grown

The README.md

Backpack\BackupManager

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Style CI Total Downloads, (*1)

An admin interface for spatie/laravel-backup. Allows the admin to easily manage backups (download and delete). Used in the Backpack package, on Laravel 5.2+ to 9., (*2)

Security updates and breaking changes

Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email 2 times/year, max., (*3)

Backpack\BackupManager screenshot, (*4)

Install

1) In your terminal:, (*5)

``` bash, (*6)

Install the package

composer require backpack/backupmanager, (*7)

Publish the backup and backupmanager configs and lang files:

php artisan vendor:publish --provider="Backpack\BackupManager\BackupManagerServiceProvider" --tag=backup-config --tag=lang, (*8)

[optional] Add a menu item for it

For Backpack v6

php artisan backpack:add-menu-content "<:menu-item title="Backups" icon="la la-hdd-o" :link="\"backpack_url('backup')\"">", (*9)

For Backpack v5 or v4

php artisan backpack:add-sidebar-content ", (*10)

"

2) [optional] Instruct Laravel to run the backups automatically in your console kernel: ```php // app/Console/Kernel.php protected function schedule(Schedule $schedule) { // if you are not using notifications you should add the `--disable-notifications` flag to this commands $schedule->command('backup:clean')->daily()->at('04:00'); $schedule->command('backup:run')->daily()->at('05:00'); }

3) Check that it works, (*11)

If the "unknown error" yellow bubble is thrown and you see the "Backup failed because The dump process failed with exitcode 127 : Command not found." error in the log file, either mysqldump / pg_dump is not installed or you need to specify its location. You can do that in your config/database.php file, where you define your database credentials, by adding the dump variables. Here's an example:, (*12)

'mysql' => [
    'driver'            => 'mysql',
    'host'              => env('DB_HOST', 'localhost'),
    'database'          => env('DB_DATABASE', 'forge'),
    'username'          => env('DB_USERNAME', 'forge'),
    'password'          => env('DB_PASSWORD', ''),
    'charset'           => 'utf8',
    'collation'         => 'utf8_unicode_ci',
    'prefix'            => '',
    'strict'            => false,
    'engine'            => null,
    'dump' => [

        'dump_binary_path' => '/path/to/directory/', // only the path, without `mysqldump` or `pg_dump`
        // 'dump_binary_path' => '/Applications/MAMP/Library/bin/', // works for MAMP on Mac OS
        // 'dump_binary_path' => '/opt/homebrew/bin/', // works for Laravel Valet on Mac OS
        'use_single_transaction',
        'timeout' => 60 * 5, // 5 minute timeout
        // 'exclude_tables' => ['table1', 'table2'],
        // 'add_extra_option' => '--optionname=optionvalue',
    ]
],

Usage

This should be a point-and-click interface where you can create and download backups at any time., (*13)

Try at your-project-domain/admin/backup, (*14)

Configuration & Troubleshooting

For additional configuration (eg. notifications): - publish the spatie backup file php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider" --tag="backup-config" - see the spatie/laravel-backup documentation on how to configure your backup system in config/backup.php; it is higly recommended that you at least configure the notifications; - see config/backpack/backupmanager.php for configurating how the backup is run from the interface; by default, it does backup:run --disable-notifications, but after you've configured notifications, you can remove that flag (or add others);, (*15)

[TIP] When you modify your options in config/backup.php or config/backpack/backupmanager.php, please run manually php artisan backup:run to make sure it's still working after your changes. NOTE: php artisan optimize:clear and/or php artisan config:clear might be needed before the backup:run command., (*16)

Upgrading

Please see the upgrade guides to get: - from v3 to v4 (new!) - from v2 to v3 - from 1.2.x to 1.3.x - from 1.1.x to 1.2.x, (*17)

Change log

Please see the releases page for more information what has changed recently., (*18)

Testing

bash $ composer test, (*19)

Contributing

Please see CONTRIBUTING for details., (*20)

Overwriting Functionality

If you need to modify how this works in a project: - create a routes/backpack/backupmanager.php file; the package will see that, and load your routes file, instead of the one in the package; - create controllers/models that extend the ones in the package, and use those in your new routes file; - modify anything you'd like in the new controllers/models;, (*21)

Security

If you discover any security related issues, please email tabacitu@backpackforlaravel.com instead of using the issue tracker., (*22)

Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months., (*23)

Credits

License

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

Hire us

We've spend more than 10.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels so much, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects., (*25)

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience & enthusiasm for this. This is what we do. Contact us - let's see if we can work together., (*26)

The Versions

19/06 2018

dev-master

9999999-dev https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

19/06 2018

1.4.2

1.4.2.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

01/05 2018

1.4.1

1.4.1.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

19/04 2018

1.4.0

1.4.0.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

02/12 2017

1.3.2

1.3.2.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

02/12 2017

1.3.1

1.3.1.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

02/12 2017

1.3.0

1.3.0.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

proprietary

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

30/08 2017

1.2.0

1.2.0.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

30/08 2017

dev-upgrade

dev-upgrade https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

06/07 2017

1.1.18

1.1.18.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

05/07 2017

1.1.17

1.1.17.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

05/04 2017

1.1.16

1.1.16.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

21/01 2017

1.1.15

1.1.15.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

08/01 2017

1.1.14

1.1.14.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

22/12 2016

1.1.13

1.1.13.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

13/12 2016

1.1.12

1.1.12.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

24/09 2016

1.1.11

1.1.11.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

17/08 2016

1.1.10

1.1.10.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

31/07 2016

1.1.9

1.1.9.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

25/07 2016

1.1.8

1.1.8.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

13/07 2016

1.1.7

1.1.7.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

03/06 2016

1.1.5

1.1.5.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

16/03 2016

1.1.4

1.1.4.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

16/03 2016

1.1.3

1.1.3.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

16/03 2016

1.1.2

1.1.2.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

15/03 2016

1.1.1

1.1.1.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

15/03 2016

1.1

1.1.0.0 https://github.com/laravel-backpack/BackupManager

Admin interface for managing backups in Backpack, on Laravel 5.2+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel backup dick backupmanager tabacitu updivision backpack

07/09 2015

1.0.3

1.0.3.0 https://github.com/tabacitu/BackupManager

Admin interface for managing backups in Dick, on Laravel 5.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel dick backupmanager tabacitu

26/06 2015

1.0.2

1.0.2.0 https://github.com/tabacitu/BackupManager

Admin interface for managing backups in Dick, on Laravel 5.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel dick backupmanager tabacitu

26/06 2015

1.0.1

1.0.1.0 https://github.com/tabacitu/BackupManager

Admin interface for managing backups in Dick, on Laravel 5.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel dick backupmanager tabacitu

26/06 2015

1.0.0

1.0.0.0 https://github.com/tabacitu/BackupManager

Admin interface for managing backups in Dick, on Laravel 5.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel dick backupmanager tabacitu