Skip to main content

Unable to prune transport S3

Comments

6 comments

  • SB-Nick
    I would make sure that cPanel is able to validate the S3 destination. If its validated already, try increasing the timeouts.
    0
  • bbf
    I would make sure that cPanel is able to validate the S3 destination. If its validated already, try increasing the timeouts.

    "Files are successfully transferred to S3." so the destination is validated.
    0
  • teo_
    Same issue here with S3. I have another destination for the backup with SFTP and I have the unable to prune error there too.
    0
  • cPanelMichael
    Hello, Check to ensure you have setup a valid policy using the steps quoted below: 1. Log in to your AWS console. 2. Under Security, Identity, & Compliance, click IAM. 3. Click Policies in the left navigation bar. 4. Click Get Started. Note: This option only displays the first time that you create a bucket. If this is not your first time to create a bucket, then this step will not display. 5. Click Create Policy near the top of the interface. 6. Click Select next to the Create your own policy option. 7. Enter a policy name. 8. Create a policy document that resembles the following example:
    { "Version": "2012-10-17", "Statement": [ { "Sid": "CpFilePermission", "Effect": "Allow", "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::$BUCKET/*", "arn:aws:s3:::$BUCKET" ] } ] }
    Replace all references to $BUCKET with your policy name. 9. Click Validate Policy to confirm that your policy specifications function properly. 10. Click Create Policy.
    Note that internal case CPANEL-10498 is included in cPanel version 62 to ensure the remote destination validation test fails when the necessary privileges are not in-place, and updated documentation on how to configure Amazon S3 destinations is scheduled for publication in the near future. Thank you.
    0
  • CrazySerb
    When you say "Replace all references to $BUCKET with your policy name" what do you mean? Where from / which "policy name" do we use? Where do we find that? Screenshots, anyone? And those AWS screens and options have been changed since this post, so it would be nice if someone could post an updated steps to doing this properly.
    0
  • cPRex Jurassic Moderator
    @CrazySerb - this thread is over 4 years old, so it's unlikely the exact same issue would still be happening. Can you get us more details on what you're seeing?
    0

Please sign in to leave a comment.