spatie / nova-backup-tool by spatie

A Laravel Nova tool to backup your application.
453,871
360
13
Package Data
Maintainer Username: spatie
Maintainer Contact: freek@spatie.be (Freek Van der Herten)
Package Create Date: 2018-08-03
Package Last Update: 2024-10-14
Home Page: https://freek.dev/1125-introducing-our-laravel-nova-packages
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 15:05:10
Package Statistics
Total Downloads: 453,871
Monthly Downloads: 5,895
Daily Downloads: 310
Total Stars: 360
Total Watchers: 13
Total Forks: 61
Total Open Issues: 1

A Laravel Nova tool to backup your application

Latest Version on Packagist CircleCI branch StyleCI Total Downloads

This Nova tool lets you:

  • list all backups
  • create a new backup
  • download a backup
  • delete a backup

Behind the scenes spatie/laravel-backup is used.

screenshot of the backup tool

You can see the tool in action in this video on YouTube.

Requirements

Make sure you meet the requirements for installing spatie/laravel-backup.

Installation

First you must install spatie/laravel-backup into your Laravel app. The installation instructions are here. When successfull running php artisan backup:run on the terminal should create a backup and php artisan backup:list should return a list with an overview of all backup disks.

You can install the nova tool in to a Laravel app that uses Nova via composer:

composer require spatie/nova-backup-tool

Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        new \Spatie\BackupTool\BackupTool(),
    ];
}

Finally you should setup a queue. This tool doesn't care what kind of queue as long as you don't use the sync driver.

Usage

Click on the "Backups" menu item in your Nova app to see the backup tool.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

Support us

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

License

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