# How to download Discourse backup and restore local database

**URL:** <https://meta.discourse.org/t/discourse/279041>\
**Category:** Self-hosting\
**Tags:** chinese-translation\
**Created:** [September 14, 2023, 6:01pm UTC](https://meta.discourse.org/t/discourse/279041 "2023-09-14T18:01:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![captno78](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@captno78](https://meta.discourse.org/u/captno78)\
**Post date:** [October 4, 2023, 2:28am UTC](https://meta.discourse.org/t/discourse/279041/5 "2023-10-04T02:28:12Z")

</div>

Here are my settings, please experts take a look and see where the problem is:

1. Discourse Settings  
 ![image](https://global.discourse-cdn.com/meta/original/4X/b/6/c/b6ccc23c0f6d812b248405f0d0cf38dc738e989e.png)
2. Minio Backup Bucket Permissions Settings

```plaintext
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "*"
                ]
            },
            "Action": [
                "s3:GetBucketLocation",
                "s3:ListBucketMultipartUploads"
            ],
            "Resource": [
                "arn:aws:s3:::discourse-backup"
            ]
        },
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "*"
                ]
            },
            "Action": [
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::discourse-backup/*"
            ]
        }
    ]
}

```

1. Minio Upload Bucket Permissions are public

---

_[View the full topic](https://meta.discourse.org/t/discourse/279041)._
