milkwood/laravel-backupper
最新稳定版本:0.4.4
Composer 安装命令:
composer require milkwood/laravel-backupper
包简介
A package giving you artisan commands to backup your application and send reports, perfect to add to your kernel schedule as cron jobs
README 文档
README
Step 1:
Add the serviceprovider class to config/app.php
'providers' => [ Milkwood\LaravelBackupper\LaravelBackupperServiceProvider::class ]
###Step 2
Remove the app path in the local driver root path in config/filesystem.php
'local' => [
'driver' => 'local',
'root' => storage_path(),
]
###Step 3 Set up amazone s3 credencials
's3' => [
'driver' => 's3',
'key' => 'XXX',
'secret' => 'XXX',
'region' => 'XXX',
'bucket' => 'XXX',
]
Use
Commands
You have access to the following commands
1: backup:db
Backs up your database both locally in your storage folder and remotely to you s3
php artisan backup:db
2: backup:cleaner
Cleans up your backups both locally and remotely so that you don't keep out of date backups
php artisan backup:cleaner
3: backup:report
Sends out a report with the current backup files, so you can check everything has run as supposed
php artisan backup:report "receiver email" "receiver name"
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-03