wittyfox/s3-backup

There is no license information available for the latest version (1.0.0) of this package.

Simple S3 backup for a laravel project

1.0.0 2023-06-08 14:53 UTC

This package is auto-updated.

Last update: 2024-04-13 16:24:14 UTC


README

This is a simple package that backups your database and uploads it to S3. Number of backups can be configured. This package can be used manually or on a cron job.

Instalation

composer require wittyfox/s3-backup

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=
php artisan vendor:publish --tag=s3-backup

This will publish a s3backup.php config file in your /config directory. You can adjust how many backups your S3 bucket can store/hold.

Usage

php artisan db:backupS3