All Projects → olssonm → laravel-backup-shield

olssonm / laravel-backup-shield

Licence: MIT license
🔒Password protection (and encryption) for your laravel backups.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-backup-shield

Laravel Backup
A package to backup your Laravel app
Stars: ✭ 4,752 (+14750%)
Mutual labels:  backup, zip
Libarchive
Multi-format archive and compression library
Stars: ✭ 1,625 (+4978.13%)
Mutual labels:  backup, zip
kirby-backup-widget
Kirby panel widget to easily backup your site content.
Stars: ✭ 25 (-21.87%)
Mutual labels:  backup, zip
JFileSync3
File Syncing with encryption and compression (partly) compatible with encfs / boxcryptor (classic) volumes for local folders and WebDAV backends. Based on JFileSync - hence the name.
Stars: ✭ 20 (-37.5%)
Mutual labels:  backup
minizip-asm.js
Minizip in javascript. Work with password. Demo:
Stars: ✭ 38 (+18.75%)
Mutual labels:  zip
openHAB-utils
Utilities for use with openHAB
Stars: ✭ 14 (-56.25%)
Mutual labels:  backup
Settings
A Laravel multi-tenant settings manager
Stars: ✭ 36 (+12.5%)
Mutual labels:  laravel-5-package
borgjs
📦 A tiny wrapper for BorgBackup to automate your backup workflow
Stars: ✭ 31 (-3.12%)
Mutual labels:  backup
lrkFM
Awesome, (ad) free, open source file manager for Android
Stars: ✭ 44 (+37.5%)
Mutual labels:  zip
box
Box - Open Standard Archive Format, a zip killer.
Stars: ✭ 38 (+18.75%)
Mutual labels:  zip
mongodb-atlas-backup
The human way to mongodump and mongorestore your MongoDB Atlas cluster
Stars: ✭ 29 (-9.37%)
Mutual labels:  backup
backup-force.com
Export and backup salesforce.com Database locally
Stars: ✭ 30 (-6.25%)
Mutual labels:  backup
minio-rclone-webdav-server
A @rclone served WebDAV server with @minio as the s3 storage backend docker example
Stars: ✭ 17 (-46.87%)
Mutual labels:  backup
NoteCrypt
Keep your notes safe and secure with Note Crypt for Android!
Stars: ✭ 32 (+0%)
Mutual labels:  backup
urbackup-docker
💾 docker container for urbackup-server
Stars: ✭ 15 (-53.12%)
Mutual labels:  backup
uncompress-react-native
Simple library to decompress files .zip, .rar, .cbz, .cbr in React Native.
Stars: ✭ 36 (+12.5%)
Mutual labels:  zip
konsave
Konsave lets use save your Linux customization and restore them very easily!
Stars: ✭ 336 (+950%)
Mutual labels:  backup
laravel-jarvis
Achieve Your Ambition With Me .
Stars: ✭ 32 (+0%)
Mutual labels:  laravel-5-package
laravel-materialize-css
Materialize CSS Framework for Laravel 5
Stars: ✭ 45 (+40.63%)
Mutual labels:  laravel-5-package
cdek-sdk
SDK для СДЭК
Stars: ✭ 38 (+18.75%)
Mutual labels:  laravel-5-package

Laravel Backup Shield

Latest Version on Packagist Software License Build Status Scrutinizer Score

backup-shield

⚠️ Password-protection/encryption can now be done natively in spatie/laravel-backup. If you use v6 or v7 of spatie/laravel-backup there is no longer a need to use this package. The development of this package has therefore been halted.

Thanks for using olssonm/laravel-backup-shield!

Secure your backups

This package helps you encrypt and password-protect your backups taken with Spatie's fantastic spatie/laravel-backup-package.

Backup Shield simply listens for when the .zip-file generated by Laravel-backup is done, grabs it and applies your password and encryption of your liking.

Using older versions of Laravel? Check out the v1 branch (for Laravel 5.2) and the v2 branch.

Requirements

php: ^7.3|^8.0
ext-zip: ^1.14
laravel: ^6|^7|^8

An appropriate zip-extension should be come with your PHP-install since PHP 7.2. If you for some reason don't have it installed – and don't want to install/upgrade it – look a versions prior to v3.4 of this package.

Installation

composer require olssonm/laravel-backup-shield

Configuration

Publish your configuration using php artisan vendor:publish and select BackupShieldServiceProvider. Or directly via php artisan vendor:publish --provider="Olssonm\BackupShield\BackupShieldServiceProvider".

You only have the ability to set two different options; password and encryption.

// Default configuration; backup-shield.php
return [
    'password' => env('APP_KEY'),
    'encryption' => \Olssonm\BackupShield\Encryption::ENCRYPTION_DEFAULT
];

Password

Your password (duh). The default is the application key (APP_KEY in your .env-file). You might want to set something more appropriate. Remember to use long strings and to keep your password safe – without it you will never be able to open your backup.

Set to NULL if you want to keep your backup without a password.

Encryption

Set your type of encryption. Available options are:

\Olssonm\BackupShield\Encryption::ENCRYPTION_DEFAULT (AES 128)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_128 (AES 128)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_192 (AES 192)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_256 (AES 256)

Regarding the layered archive

This package adds the backup-zip created by spatie/laravel-backup inside a new password protected archive. This is to disable its contents to be able to be viewed without a password – instead only backup.zip will be displayed. Becouse, even without a password, a zip's contents (i.e. the file- and folder names) can be extracted.

Testing

$ composer test

or

$ phpunit

License

The MIT License (MIT). Please see the LICENSE.md for more information.

© 2021 Marcus Olsson.

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].