- Create a bucket on https://console.aws.amazon.com/s3/home or Google Storage on https://console.cloud.google.com/storage/browser
- Go to https://console.aws.amazon.com/iam/home?#users and create a user.
- Click on User > Inline Policy > Custom Policy and add:
- {
- "Version": "2012-10-17",
- "Statement": [
- {
- "Effect": "Allow",
- "Action": "s3:ListAllMyBuckets",
- "Resource": "arn:aws:s3:::*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:ListBucket",
- "s3:GetBucketLocation"
- ],
- "Resource": "arn:aws:s3:::cid1149"
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:PutObject",
- "s3:GetObject",
- "s3:DeleteObject"
- ],
- "Resource": "arn:aws:s3:::cid1149/*"
- }
- ]
- }
replacing
cid1149with respective customer id. - Click on user > Security Credentials and create new Access and Secret Keys; delete the old one
- Schedule a Virtualmin backup clicking on the "Add another destination .." option and making sure not to select the "Include sub-servers of those selected?" option of the existing local backup like shown in the attached screenshot:

- for "Bucket and path" option putcid1283/weekly-%d-%m-%Y;
- check on the "Use reduced redundancy storage?" option;
- for the "Delete old backups" option choose 15 days for daily backups and 30 days for weekly backups.
Clients can login through https://drupion.signin.aws.amazon.com/console
0) Install pip and aws cli
yum install python-pip pip install --upgrade pip pip install awscli --upgrade
- Log in to post comments