laravel
laravel copied to clipboard
Dynamic updation of AWS S3 bucket falls back to default bucket.
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.