Skip to content

Laravel BackupManager

github logo ・1 min read  

Simple laravel package to backup/restore files and database.

sarfraznawaz2005 / backupmanager

Simple laravel package to backup/restore files and database.

Latest Version on Packagist Total Downloads

Laravel BackupManager

Simple laravel package to backup/restore files and database.


Main Window


  • PHP >= 5.6
  • Laravel 5
  • mysql (to restore database)
  • mysqldump (to backup database)
  • tar (to backup/restore files)
  • zcat (to extract database archive)


Via Composer

$ composer require sarfraznawaz2005/backupmanager

For Laravel < 5.5:

Add Service Provider to config/app.php in providers section:


(Optional) Add Facade to config/app.php in aliases section:

'BackupManager' => Sarfraznawaz2005\BackupManager\Facades\BackupManager::class,

Publish package's files by running below command:

$ php artisan vendor:publish --provider="Sarfraznawaz2005\BackupManager\ServiceProvider"

It should publish config/backupmanager.php.php config file and migration file.

Run php artisan migrate to create backup verifier (verifybackup)) table.

Finally setup options in config/backupmanager.php file and open the backup manager at url you have specified in route option eg http//, you should now see interface of BackupManager.

See config/backupmanager.php file for more information about backup settings.


twitter logo DISCUSS
Classic DEV Post from Jul 13 '19

Building A Career In Tech As A Newbie

Originally posted on my blog Introduction The tech industry is ever evolving, what this m...

Sarfraz Ahmed profile image
Hello, I am Sarfraz Ahmed, a self-taught programmer from Karachi, Pakistan mainly involved in PHP, MySQL, HTML/CSS, JavaScript/jQuery for around 10 years now.

Sore eyes? now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️