How to use Amazon S3 storage to back up your data

  1. Install the AWS S3 plugin
  1. The steps to obtain Amazon's key are as follows:

    Log in to your console, click your user name in the upper right corner, and select the security credentials


Create your root key and record it

  1. Get your bucket name


    Fill in the key pair and bucket name you got into the plugin

Choose aws s3 when adding backup in the Cron

How to Backup Data to Cloudflare's R2 Object Storage using Aws S3

Great to see you add different sources to make backups 😃
Can you consider to make the option to make backups to google Team drive ( Shared Drives)
I know google drive is there,but would be good to have option for google shared drives too.

    There is a way to enable configuration to access the OCI Bucket (like CloudBerry )

    2 months later

    Can you add feature backup to object storage like S3 (different hostname)?

      16 days later

      thont94
      I don't seem to have seen such a product, but I will pay attention to this issue.

      16 days later

      What permission of the Amazon IAM user is required?

      I tried to use a standard user with AmazonS3FullAccess permission only and I got "API data verification failed, please verify!"

      You know grant an API access key to a super root user is a dangerous action on AWS.

        Henry
        Thanks for your suggestion, we will try to develop with IAM permissions

        5 months later
        2 months later
        5 months later
        2 months later

        +1 for different endpoints
        this would be really useful to use with digitalocean's spaces s3 compatible storage, or scaleway.com's s3 storage.

        14 days later

        I found way to change endpoint. You need to add one line to the file /www/server/panel/plugin/aws_s3/s3lib/client/aws_s3.py
        Add endpoint_url = 'https://your-endpoint-url', after aws_secret_access_key=self.__secret_key,
        Save file and restart panel.


        Tested with Storj and Backblaze. One thing about Backblaze: Deleted files are marked as hidden and not deleted completely. But you can add Custom lifecycle rules for Bucket to completely delete hidden files.

          2 years later

          同样的配置,其他区域S3可以用,香港区域S3不能用......提示:API data verification failed, please verify!
          自己研究了一下没解决,不知道什么原因。

          4 months later
          18 days later
          Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com