# Changing snapshot repo from standard to standard-ia

**URL:** <https://forum.opensearch.org/t/changing-snapshot-repo-from-standard-to-standard-ia/9422>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [April 28, 2022, 8:15am UTC](https://forum.opensearch.org/t/changing-snapshot-repo-from-standard-to-standard-ia/9422 "2022-04-28T08:15:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![curiousmind](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@curiousmind](https://forum.opensearch.org/u/curiousmind)\
**Post date:** [April 28, 2022, 8:15am UTC](https://forum.opensearch.org/t/changing-snapshot-repo-from-standard-to-standard-ia/9422/1 "2022-04-28T08:15:47Z")

</div>

Hi all,  
I created a bucket in AWS s3 bucket, named “backup-s3-bucket”  
Then I created a snapshot repo like below:

```auto
PUT _snapshot/aws_repo
		{
		  "type": "s3",
		  "settings": {
			"bucket": "backup-s3-bucket",
			"endpoint": "s3.us-east-1.amazonaws.com"
		  }
		}

```

The above request has created the repo, with the storage class “standard”  
Now after a few days of snapshotting, I came to the realisation that the type `standard-ia` is cheaper.  
So now I need to change the repo type to `standard-ia`  
Can I just use the below request to change it

```auto
PUT _snapshot/aws_repo
		{
		  "type": "s3",
		  "settings": {
			"bucket": "backup-s3-bucket",
			"endpoint": "s3.us-east-1.amazonaws.com",
                        "storage_class":"standard_ia"
		  }
		}

```

My question is , will this cause any issues, if i change the same repo’s type (from standard to standard-ia) now?

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 12:02am UTC](https://forum.opensearch.org/t/changing-snapshot-repo-from-standard-to-standard-ia/9422/2 "2023-02-07T00:02:59Z")

</div>


