Download the PHP package juice/backups without Composer
On this page you can find all versions of the php package juice/backups. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download juice/backups
More information about juice/backups
Files in juice/backups
Informations about the package backups
Juice Backups Package
Backup your application and database data to local filesystem.
Note
This package use spatie/db-dumper to dump database data. For supporting database type, please check here and make sure meets the requirement.
Installation
-
run composer require command
composer require juice/backups
-
register
\Juice\Backups\BackupsServiceProvider::class
service provider -
copy config file and set it up
-
Laravel -
php artisan vendor:publish --provider="Juice\Backups\BackupsServiceProvider"
-
Lumen -
cp vendor/juice/backups/config/juice-backups.php config/
(make sure config directory exist)
-
-
run setup command
php artisan backup:setup
- done
Commands
- backup:setup - initialize package
- backup:run - backup application and database
- backup:cleanup - cleanup outdated backups
Usage
All you need to do is add run
and cleanup
command to schedule method.
You can find more schedule information here.
Backup Mechanism
- hourly backups for the past 24 hours
- daily backups for the past month
- weekly backups for all previous months
All versions of backups with dependencies
ext-zlib Version *
illuminate/console Version ~5.7|~6.0|~7.0|~8.0
illuminate/support Version ~5.7|~6.0|~7.0|~8.0
nesbot/carbon Version ~1.36|~2.0
spatie/db-dumper Version ~2.11
symfony/finder Version ~4.1|~5.0
symfony/process Version ~4.1|~5.0