Hmm, that’s a weird behavior. Do you mean backups which are uploaded from within the browser or backups created by the system?
I don’t see a reason why backups created by the system would end up at the wrong place. The code looks quite straightforward.
s3_helper gets configured with the correct bucket and multisite name.