# Restore snapshot from backup(different cluster's snapshot)

**URL:** <https://forum.opensearch.org/t/restore-snapshot-from-backup-different-clusters-snapshot/4387>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [December 15, 2020, 4:45am UTC](https://forum.opensearch.org/t/restore-snapshot-from-backup-different-clusters-snapshot/4387 "2020-12-15T04:45:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BhuvaneshDCT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/bhuvaneshdct/32/951_2.png) [@BhuvaneshDCT](https://forum.opensearch.org/u/BhuvaneshDCT)\
**Post date:** [December 15, 2020, 4:45am UTC](https://forum.opensearch.org/t/restore-snapshot-from-backup-different-clusters-snapshot/4387/1 "2020-12-15T04:45:57Z")

</div>

I had an ES cluster v7.4 and using SSL for that cluster. I created a new cluster today and I want to restore my old cluster’s snapshot to the new cluster.

Here is what I have done on the new cluster.

1. Install GCS repo(Plugin)
2. And created snapshot repo
3. Copied the files from old cluster’s snap reso to new cluser repo.
4. Verified all the backup files from the new cluster(I ran a curl command to see the list of snapshots)
5. Then tried to restore.

But its giving the following error.

**Restore command:**

```auto
 curl -k -u admin:password -X POST https://10.10.10.10:9200/_snapshot/prod_gcssnap/prd-essnap-2020-12-14/_restore | jq

```

**Error:**

```auto
  "error": {                                                                                                                                                                  
    "root_cause": [                                                                                                                                                           
      {                                                                                                                                                                       
        "type": "security_exception",                                                                                                                                         
        "reason": "no permissions for [] and User [name=admin, backend_roles=[admin], requestedTenant=null]"                                                                  
      }                                                                                                                                                                       
    ],                                                                                                                                                                        
    "type": "security_exception",                                                                                                                                             
    "reason": "no permissions for [] and User [name=admin, backend_roles=[admin], requestedTenant=null]"                                                                      
  },                                                                                                                                                                          
  "status": 403                                                                                                                                                               
} 

```

**ES Config:**

```auto
pendistro_security.enable_snapshot_restore_privilege: true
opendistro_security.check_snapshot_restore_write_privileges: true

```

---

<div class="post-metadata">

**Author:** ![BhuvaneshDCT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/bhuvaneshdct/32/951_2.png) [@BhuvaneshDCT](https://forum.opensearch.org/u/BhuvaneshDCT)\
**Post date:** [December 15, 2020, 4:56am UTC](https://forum.opensearch.org/t/restore-snapshot-from-backup-different-clusters-snapshot/4387/2 "2020-12-15T04:56:18Z")

</div>

> [@BhuvaneshDCT](#):
>
> `security_exception`

It helped me to restore  
[https://github.com/opendistro-for-elasticsearch/security/issues/49#issuecomment-493590532](https://github.com/opendistro-for-elasticsearch/security/issues/49#issuecomment-493590532)

---

<div class="post-metadata">

**Author:** ![AvianDo](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@AvianDo](https://forum.opensearch.org/u/AvianDo)\
**Post date:** [July 15, 2021, 12:10pm UTC](https://forum.opensearch.org/t/restore-snapshot-from-backup-different-clusters-snapshot/4387/3 "2021-07-15T12:10:31Z")

</div>

> [@BhuvaneshDCT](#):
>
> ```auto
> 
> ```

I can’t access the pag github you reckon as the page is unavailable.  
can you please give the solution? I also having this issue
