All Projects → sarfraznawaz2005 → backupmanager

sarfraznawaz2005 / backupmanager

Licence: MIT license
Simple laravel package to backup/restore files and database.

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects

Projects that are alternatives of or similar to backupmanager

docker-db-backup
Backup mutltiple databases types on a scheduled basis with many customizable options
Stars: ✭ 302 (+1158.33%)
Mutual labels:  backup
irsync
rsync on interval, via command line binary or docker container. Server and IOT builds for pull or push based device content management.
Stars: ✭ 19 (-20.83%)
Mutual labels:  backup
snapbtrex
snapbtrex is a small utility that keeps snapshots of btrfs filesystems and optionally send them to a remote system or syncs them locally.
Stars: ✭ 29 (+20.83%)
Mutual labels:  backup
infrastructure
This repo contains all information about machine maintenance.
Stars: ✭ 75 (+212.5%)
Mutual labels:  backup
n3dr
Nexus3 Disaster Recovery (N3DR) is a tool that is capable of downloading all artifacts from a Nexus3 server and to migrate them to another Nexus3 server. Note that some repository formats are not supported at the moment.
Stars: ✭ 110 (+358.33%)
Mutual labels:  backup
mongodb-backup-manager
🌿 A Full-stack MongoDB Backup System.
Stars: ✭ 42 (+75%)
Mutual labels:  backup
linux-android-backup
Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
Stars: ✭ 119 (+395.83%)
Mutual labels:  backup
bye-bye-feedly
Export your read later (formerly saved/favorited) articles from feedly, and access them from a simple reader.
Stars: ✭ 42 (+75%)
Mutual labels:  backup
esop
Cloud-enabled backup and restore tool for Apache Cassandra
Stars: ✭ 40 (+66.67%)
Mutual labels:  backup
backup-x
带Web界面的数据库/文件备份增强工具. A database/file backup tool with web interfaces
Stars: ✭ 78 (+225%)
Mutual labels:  backup
airtable local backup
Create local backups of airtable databases
Stars: ✭ 32 (+33.33%)
Mutual labels:  backup
terraform-aws-efs-backup
Terraform module designed to easily backup EFS filesystems to S3 using DataPipeline
Stars: ✭ 40 (+66.67%)
Mutual labels:  backup
aws-backup-lambda
A utility AWS lambda function to manage EBS and RDS snapshot backups.
Stars: ✭ 60 (+150%)
Mutual labels:  backup
kirby-backup-widget
Kirby panel widget to easily backup your site content.
Stars: ✭ 25 (+4.17%)
Mutual labels:  backup
django-dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 629 (+2520.83%)
Mutual labels:  backup
RoboBackup
Windows service for orchestrating file backups via robocopy utility.
Stars: ✭ 35 (+45.83%)
Mutual labels:  backup
dotao
WIP modern dotfiles manager
Stars: ✭ 15 (-37.5%)
Mutual labels:  backup
minback-postgres
A container which provides the ability to backup a PostgreSQL database to Minio on demand
Stars: ✭ 18 (-25%)
Mutual labels:  backup
cephgeorep
An efficient unidirectional remote backup daemon for CephFS.
Stars: ✭ 27 (+12.5%)
Mutual labels:  backup
backup
An admin interface for managing backups
Stars: ✭ 66 (+175%)
Mutual labels:  backup

Latest Version on Packagist Total Downloads

Laravel BackupManager

Simple laravel package to backup/restore files and database.

Screenshot

Main Window

Requirements

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

Please make sure above binaries are added to PATH environment variable or you can specify full path to them in config file.

Installation

Via Composer

$ composer require sarfraznawaz2005/backupmanager

For Laravel < 5.5:

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

Sarfraznawaz2005\BackupManager\ServiceProvider::class,

(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//yourapp.com/backupmanager, you should now see interface of BackupManager.

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

Setting Up Automatic Backups

To setup automatic backups, place following in app/Console/Kernel.php file:

$schedule->command('backupmanager:create')->daily();

Although packages provides GUI interface to manage backups, following commands are also available:

  backupmanager:create                  Creates backup of files and/or database.
  backupmanager:list                    Shows list of backups taken.
  backupmanager:restore                 Restores a backup already taken.

Saving Backups to Other Disks

By default this package saves backups to local disk but you can use built-in feature of laravel filesystem to save backups to other disks too. Let's say you want to upload to different server for which you have ftp credentials, you need to update those ftp credentials into laravel's config/filesystems.php file under ftp disk setting. Once you have done that, in backup manager config file (config/backupmanager.php) specify your disk to be ftp instead of local eg:

// define disk options
'disk' => 'ftp',

instead of

 'disk' => 'local',

Now backup files will be saved on your ftp location instead of locally.

How Restore is verified

Even though there is no 100% way to verify restores, yet for files we create and verify restore feature by putting some contents into backup-verify file before and after restore. Similarly, we verify database restore by putting some contents into verifybackup table before and after restore. In both cases, contents of that file and database table are different at the time of backup and restore.

Disclaimer

This package was created for our needs and works for us however no guarantee is provided in terms of its functionality especially restore feature which can not be 100% verified because of the way restore feature works. So use this package at your own risk.

Credits

License

Please see the license file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].