laravel icon indicating copy to clipboard operation
laravel copied to clipboard

Dynamic updation of AWS S3 bucket falls back to default bucket.

Open gopal-g opened this issue 7 years ago • 0 comments

Firstly thanks for this amazing package.

I have multi-tenant application running on multi-db architecture, each tenant has their own bucket in same AWS S3 tier.

Config::set("backup-manager.s3.bucket", $website->s3_identifier); $destination= [ ... ]; $this->manager->makeBackup()->run('tenant', $destination, 'null');

I am trying to set the s3 config dynamically at the time of backup but the backup file gets stored in the bucket specified in backup-manager.php file.

gopal-g avatar Aug 03 '17 11:08 gopal-g