Mail-In-A-Box Back Up to Beget S3
Mailinabox supports S3 compatible storages. Below are the settings for the combination.
For some reason when I put all the correct settings, I was getting a 'Contents' error which is a truncated KeyError: 'Contents' error from backup.py. I fixed it with adding a file to the root of the S3 bucket in Beget. After I added the file, the error went away.
So, settings:
| Parameter | Value | Note |
| Backup to: | S3 (Amazon or compatible) | |
| S3 Region: | <empty> | |
| S3 Host / Endpoint: | <your value, e.g. s3.ru45.storage.beget.cloud> | No "https://" here! |
| S3 Region Name (if required): | <empty> | |
| S3 Bucket & Path: | <bucket-name from Beget>/ | Add "/" to the bucket name as it will be used in backup.py |
| S3 Access Key: | <your value> | |
| S3 Secret Access Key: | <your value> | |
| Retention Days: | <whatever you prefer> |
With these settings my backup is working.