Knowledge Base

Upload Backups to Amazon S

  • 73views
  • February 7, 2024

Upload Backups to Amazon S3

Prerequisites

To receive emails for failed and successful backups, please create an Email Account first.

Create S3 bucket and set up access

  1. Create a new s3 bucket.Within the bucket settings, activate “Block all public access” to maintain the privacy of your data. Additionally, feel free to enable encryption, versioning, or object lock based on your specific needs.
  2. Open Identity and Access Management (IAM).
  3. Create a new policy for the Service “S3”, allowing the Actions “ListBucket” and “PutObject”.Or, using the JSON editor:
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Sid": "VisualEditor0",
                "Effect": "Allow",
                "Action": [
                    "s3:PutObject",
                    "s3:ListBucket"
                ],
                "Resource": [
                    "arn:aws:s3:::*/*",
                    "arn:aws:s3:::YOUR TARGET BUCKET"
                ],
                "Condition": {
                    "IpAddress": {
                        "aws:SourceIp": "YOUR SERVER IP"
                    }
                }
            }
        ]
    }
    
  4. Create a new user for programmatic access.
  5. Attach the policy you created to the new user.
  6. Copy the user’s access key and secret.

For automatic deletion of outdated backups or their relocation to a more cost-effective storage class, explore the options available in lifecycle management.

Set up BizCentric

  • Access the S3 Backup Settings.
  • Activate “Enable Automatic Backup.”
  • Enter the access key and secret obtained from AWS.
  • Provide an email address to receive notifications in case of backup failures. If desired, enable “Send Email for Successful Backup” to receive notifications for successful backups too.
  • Indicate the name of the bucket created in step 1.
  • Select the frequency for taking and uploading backups, ranging from monthly to daily. If manual backups are preferred, set the frequency to “None.”