nati / offsite-backup-bundle
Symfony bundle to sync a path to a S3 repository
Installs: 591
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.4|^8.0
- aws/aws-sdk-php: ^3.174
- symfony/config: ^5.0|^6.0
- symfony/console: ^5.0|^6.0
- symfony/dependency-injection: ^5.2|^6.0
- symfony/http-kernel: ^5.2|^6.0
- symfony/monolog-bundle: ^3.6
- symfony/yaml: ^5.2|^6.0
README
Sync a path to a S3 repository using S3 php SDK.
Motivations :
- no use of third-party commands (like s3cmd)
- use symfony config/vault to manager S3 credentials
Install the package with:
composer require nati/offsite-backup-bundle
Usage
This bundle provides a single command to add to a crontab :
php bin/console offsite-backup --env=prod /path/to/sync s3bucket