PHP Classes

Laravel Backup Manager: Backup Laravel applications to storage containers

Recommend this page to a friend!
  Info   View files Documentation   View files View files (58)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 32 This week: 1All time: 10,987 This week: 560Up
Version License PHP version Categories
laravel-backup 1.0MIT/X Consortium ...5PHP 5, Systems administration, Libraries, W...
Description 

Author

This package can backup Laravel applications to storage containers.

It provides commands to execute with Laravel Artisan to create backup copies of the current Laravel application data.

Currently, the commands can create new backup copies or list backup copies executed previously.

The commands may take options that configure aspects like:

- The types of services used during the backup process

- The storage systems used to store the backup copy data

- The timeout period to wait when remote services are too slow or do not respond

- Etc.

Innovation Award
PHP Programming Innovation award nominee
March 2022
Number 4
Laravel is a well-known PHP framework that has become very popular among PHP developers worldwide.

Having a backup of the data used by an application is essential to have an alternative plan when something goes wrong in the application's environment.

This package provides a backup solution for Laravel applications that is very flexible.

It allows developers to control several valuable options, like the remote service that it will use to store the backup data and the possibility to list the backup copies that it has taken previously.

Manuel Lemos
Picture of Isa Eken
  Performance   Level  
Name: Isa Eken <contact>
Classes: 20 packages by
Country: Turkey Turkey
Age: 21
All time rank: 276644 in Turkey Turkey
Week rank: 52 Up2 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 13x

Documentation

isaeken/laravel-backup

Usage

> Work in progress do not use in production!

php artisan backup:run
php artisan backup:run --services=database,storage
php artisan backup:run --storages=local,s3,gcloud
php artisan backup:run --disable-notifications
php artisan backup:run --timeout=3

php artisan backup:list

output:
+---+--------------------------------------------+-------+---------------------+----------+
| # | Name                                       | Disk  |                Date |     Size |
+---+--------------------------------------------+-------+---------------------+----------+
| 1 | backup_2022-03-13-22-48-29.zip             | local | 2022-03-13 22:48:29 | 29.99 KB |
| 2 | backup_database_2022-03-13-22-48-29.sqlite | local | 2022-03-13 22:48:29 |    48 KB |
+---+--------------------------------------------+-------+---------------------+----------+

Totally Used Storage: 77.99 KB


  Files folder image Files  
File Role Description
Files folder image.github (2 files, 2 directories)
Files folder imageconfig (1 file)
Files folder imageresources (1 directory)
Files folder imagesrc (6 files, 11 directories)
Files folder imagetests (2 files)
Plain text file .editorconfig Data Auxiliary data
Plain text file .php_cs.dist.php Example Example script
Plain text file CHANGELOG.md Data Auxiliary data
Plain text file composer.json Data Auxiliary data
Plain text file LICENSE.md Lic. License text
Plain text file phpunit.xml.dist Data Auxiliary data
Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
Files folder imageISSUE_TEMPLATE (1 file)
Files folder imageworkflows (3 files)
  Plain text file CONTRIBUTING.md Data Auxiliary data
  Plain text file FUNDING.yml Data Auxiliary data

  Files folder image Files  /  .github  /  ISSUE_TEMPLATE  
File Role Description
  Plain text file config.yml Data Auxiliary data

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Plain text file php-cs-fixer.yml Data Auxiliary data
  Plain text file run-tests.yml Data Auxiliary data
  Plain text file update-changelog.yml Data Auxiliary data

  Files folder image Files  /  config  
File Role Description
  Plain text file backup.php Class Class source

  Files folder image Files  /  resources  
File Role Description
Files folder imagelang (2 files)

  Files folder image Files  /  resources  /  lang  
File Role Description
  Plain text file en.json Data Auxiliary data
  Plain text file tr.json Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageCollectors (2 files)
Files folder imageCommands (2 files)
Files folder imageCompressors (1 file)
Files folder imageContracts (10 files, 1 directory)
Files folder imageDataTransferObjects (1 file)
Files folder imageExceptions (1 file)
Files folder imageModels (1 file)
Files folder imageNotifications (2 files)
Files folder imageServices (3 files)
Files folder imageTasks (1 file)
Files folder imageTraits (7 files)
  Plain text file Backup.php Class Class source
  Plain text file BackupServiceProvider.php Class Class source
  Plain text file ConfigReader.php Class Class source
  Plain text file Database.php Class Class source
  Plain text file Finder.php Class Class source
  Plain text file helpers.php Example Example script

  Files folder image Files  /  src  /  Collectors  
File Role Description
  Plain text file Collector.php Class Class source
  Plain text file DirectoryCollector.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file BackupCommand.php Class Class source
  Plain text file ListCommand.php Class Class source

  Files folder image Files  /  src  /  Compressors  
File Role Description
  Plain text file ZipCompressor.php Class Class source

  Files folder image Files  /  src  /  Contracts  
File Role Description
Files folder imageBackup (3 files)
  Plain text file Collector.php Class Class source
  Plain text file Compressor.php Class Class source
  Plain text file HasBackupServices.php Class Class source
  Plain text file HasBackupStorages.php Class Class source
  Plain text file HasCompressor.php Class Class source
  Plain text file HasLogger.php Class Class source
  Plain text file HasNotifications.php Class Class source
  Plain text file HasPassword.php Class Class source
  Plain text file Runnable.php Class Class source
  Plain text file UsesTemporaryDirectory.php Class Class source

  Files folder image Files  /  src  /  Contracts  /  Backup  
File Role Description
  Plain text file Backup.php Class Class source
  Plain text file Manager.php Class Class source
  Plain text file Service.php Class Class source

  Files folder image Files  /  src  /  DataTransferObjects  
File Role Description
  Plain text file Backup.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Plain text file MissingExtensionException.php Class Class source

  Files folder image Files  /  src  /  Models  
File Role Description
  Plain text file Backup.php Class Class source

  Files folder image Files  /  src  /  Notifications  
File Role Description
  Plain text file BackupCreatedNotification.php Class Class source
  Plain text file BaseNotification.php Class Class source

  Files folder image Files  /  src  /  Services  
File Role Description
  Plain text file DatabaseService.php Class Class source
  Plain text file Service.php Class Class source
  Plain text file StorageService.php Class Class source

  Files folder image Files  /  src  /  Tasks  
File Role Description
  Plain text file FakeBackup.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Plain text file HasBackupServices.php Class Class source
  Plain text file HasBackupStorages.php Class Class source
  Plain text file HasCompressor.php Class Class source
  Plain text file HasLogger.php Class Class source
  Plain text file HasNotifications.php Class Class source
  Plain text file HasPassword.php Class Class source
  Plain text file UsesTemporaryDirectory.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file DatabaseBackupTest.php Class Class source
  Plain text file ZipCompressorTest.php Test Test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:32
This week:1
All time:10,987
This week:560Up