Closed StanLindsey closed 3 years ago
Thanks @StanLindsey , nice addition !
Could you send the PR on the dev branch ? I checked your changes and it's green to be merged on the dev version.
@flydev-fr - done 👍
@flydev-fr - realised i hadn't done that very well as all my original development was on the master branch - cherry-picked my changes onto dev and repushed 👍
Thanks @StanLindsey merged !
This PR adds an additional config field that allows you to set the prefix / sub directory of an S3 object.
This allows you to have a single bucket for example named "my-lovely-backups" and within that have subfields for each site you are backing up. You can then have:
my-lovely-backups/siteA/backup1.package.zip
my-lovely-backups/siteA/backup2.package.zip
my-lovely-backups/siteB/backup1.package.zip
my-lovely-backups/siteB/backup2.package.zip
etc etc.
This PR also adds some additional logging in areas I found useful when making these changes.