# Copy ES snapshot to another ES

**URL:** <https://discuss.elastic.co/t/copy-es-snapshot-to-another-es/381045>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [August 14, 2025, 1:12pm UTC](https://discuss.elastic.co/t/copy-es-snapshot-to-another-es/381045 "2025-08-14T13:12:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shahram](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahram/32/131733_2.png) [@Shahram](https://discuss.elastic.co/u/Shahram)\
**Post date:** [August 14, 2025, 1:12pm UTC](https://discuss.elastic.co/t/copy-es-snapshot-to-another-es/381045/1 "2025-08-14T13:12:13Z")

</div>

Hello,  
I have 2 ES9.0.4 with exactily the same configuration and setup.  
In ES1: I created one index and put some dummy data as:  
`get test/_search`

> { "took": 0, "timed\_out": false, "\_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 1, "relation": "eq" }, "max\_score": 1, "hits": [{ "\_index": "test", "\_id": "2R9hqJgB8CDT6OO9Ckeq", "\_score": 1, "\_source": { "name": "foo", "title": "bar" } }] } }

So far so good, I made a folder and defined as repository. Created the snapshot that can be recovered back correctly. When I delete and recover the index in the same ES, I got yellow status which is fine because no replicate is there.

ES2: Now I add the same repository in ES2 and enable it with:

```auto
PUT _snapshot/from_cold_backup { "type": "fs", "settings": { "location": "/mnt/extvol/es_repo", "readonly": false }}

```

To verify that I used:

```auto
POST /_snapshot/from_cold_backup/_verify

```

> { "nodes": { "aZQG-MvtRc-C4OeZmXWM9g": { "name": "es2" } }}

According to [How to export/import an ES snapshot to/from an external harddrive](https://discuss.elastic.co/t/how-to-export-import-an-es-snapshot-to-from-an-external-harddrive/290796) and [Snapshot and Restore in readable format](https://discuss.elastic.co/t/snapshot-and-restore-in-readable-format/180578) I can copy the entire repository (including the index files) to a new ES as a repository.  
Therefore I copied the entire folder of the repository which includes these files:

> index-2 meta-vm3eo9OmSlGfFBdGnSeV9Q.dat  
> index.latest snap-vm3eo9OmSlGfFBdGnSeV9Q.dat  
> indices

from ES1 to ES2 `/mnt/extvol/es_repo`folder. After one restart ES2 service, the snapshot appears in the Kibana page. `GET /_snapshot/from_cold_backup/_all`also shows the snapshot name.  
When I restore the snapshot either using `kibana > Stack Management>Snapshot and Restore>Snapshots` or using command `POST /_snapshot/from_cold_backup/metadata_0aa_list_cold-kving1xwrfcu3dfwsvtscw/_restore`althogh there is no error, the response is `{ "accepted": true }` but the status remains red.  
Any request returns

> { "error": { "root\_cause": [{ "type": "no\_shard\_available\_action\_exception", "reason": null }], "type": "search\_phase\_execution\_exception", "reason": "all shards failed", "phase": "query", "grouped": true, "failed\_shards": [{ "shard": 0, "index": "test", "node": null, "reason": { "type": "no\_shard\_available\_action\_exception", "reason": null } }] }, "status": 503 }

according to [ERROR: no\_shard\_available\_action\_exception after restoring the snapshot](https://discuss.elastic.co/t/error-no-shard-available-action-exception-after-restoring-the-snapshot/365021)  
the watermark is not the issue `/dev/vdd 984G 612G 322G 66% /mnt/extvol`

Here is a full log of  
`GET _snapshot/from_cold_backup/metadata_0aa_list_cold-kving1xwrfcu3dfwsvtscw/_status`

```auto
{
  "snapshots": [
    {
      "snapshot": "metadata_0aa_list_cold-kving1xwrfcu3dfwsvtscw",
      "repository": "from_cold_backup",
      "uuid": "vm3eo9OmSlGfFBdGnSeV9Q",
      "state": "SUCCESS",
      "include_global_state": true,
      "shards_stats": {
        "initializing": 0,
        "started": 0,
        "finalizing": 0,
        "done": 17,
        "failed": 0,
        "total": 17
      },
      "stats": {
        "incremental": {
          "file_count": 212,
          "size_in_bytes": 3879192
        },
        "total": {
          "file_count": 212,
          "size_in_bytes": 3879192
        },
        "start_time_in_millis": 1755171701737,
        "time_in_millis": 2401
      },
      "indices": {
        ".kibana_usage_counters_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 25,
              "size_in_bytes": 107691
            },
            "total": {
              "file_count": 25,
              "size_in_bytes": 107691
            },
            "start_time_in_millis": 1755171702738,
            "time_in_millis": 200
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 25,
                  "size_in_bytes": 107691
                },
                "total": {
                  "file_count": 25,
                  "size_in_bytes": 107691
                },
                "start_time_in_millis": 1755171702738,
                "time_in_millis": 200
              }
            }
          }
        },
        ".secrets-inference": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 10,
              "size_in_bytes": 9654
            },
            "total": {
              "file_count": 10,
              "size_in_bytes": 9654
            },
            "start_time_in_millis": 1755171703138,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 10,
                  "size_in_bytes": 9654
                },
                "total": {
                  "file_count": 10,
                  "size_in_bytes": 9654
                },
                "start_time_in_millis": 1755171703138,
                "time_in_millis": 0
              }
            }
          }
        },
        "test": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 4,
              "size_in_bytes": 5528
            },
            "total": {
              "file_count": 4,
              "size_in_bytes": 5528
            },
            "start_time_in_millis": 1755171703738,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 4,
                  "size_in_bytes": 5528
                },
                "total": {
                  "file_count": 4,
                  "size_in_bytes": 5528
                },
                "start_time_in_millis": 1755171703738,
                "time_in_millis": 0
              }
            }
          }
        },
        ".apm-agent-configuration": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 1,
              "size_in_bytes": 250
            },
            "total": {
              "file_count": 1,
              "size_in_bytes": 250
            },
            "start_time_in_millis": 1755171703538,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 1,
                  "size_in_bytes": 250
                },
                "total": {
                  "file_count": 1,
                  "size_in_bytes": 250
                },
                "start_time_in_millis": 1755171703538,
                "time_in_millis": 0
              }
            }
          }
        },
        ".kibana_security_session_1": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 7,
              "size_in_bytes": 14022
            },
            "total": {
              "file_count": 7,
              "size_in_bytes": 14022
            },
            "start_time_in_millis": 1755171703338,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 7,
                  "size_in_bytes": 14022
                },
                "total": {
                  "file_count": 7,
                  "size_in_bytes": 14022
                },
                "start_time_in_millis": 1755171703338,
                "time_in_millis": 0
              }
            }
          }
        },
        ".kibana_analytics_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 13,
              "size_in_bytes": 2467923
            },
            "total": {
              "file_count": 13,
              "size_in_bytes": 2467923
            },
            "start_time_in_millis": 1755171702938,
            "time_in_millis": 200
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 13,
                  "size_in_bytes": 2467923
                },
                "total": {
                  "file_count": 13,
                  "size_in_bytes": 2467923
                },
                "start_time_in_millis": 1755171702938,
                "time_in_millis": 200
              }
            }
          }
        },
        ".kibana_entities-definitions-1": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 16,
              "size_in_bytes": 31266
            },
            "total": {
              "file_count": 16,
              "size_in_bytes": 31266
            },
            "start_time_in_millis": 1755171702738,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 16,
                  "size_in_bytes": 31266
                },
                "total": {
                  "file_count": 16,
                  "size_in_bytes": 31266
                },
                "start_time_in_millis": 1755171702738,
                "time_in_millis": 0
              }
            }
          }
        },
        ".tasks": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 28,
              "size_in_bytes": 93951
            },
            "total": {
              "file_count": 28,
              "size_in_bytes": 93951
            },
            "start_time_in_millis": 1755171703538,
            "time_in_millis": 200
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 28,
                  "size_in_bytes": 93951
                },
                "total": {
                  "file_count": 28,
                  "size_in_bytes": 93951
                },
                "start_time_in_millis": 1755171703538,
                "time_in_millis": 200
              }
            }
          }
        },
        ".kibana_alerting_cases_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 4,
              "size_in_bytes": 7139
            },
            "total": {
              "file_count": 4,
              "size_in_bytes": 7139
            },
            "start_time_in_millis": 1755171703138,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 4,
                  "size_in_bytes": 7139
                },
                "total": {
                  "file_count": 4,
                  "size_in_bytes": 7139
                },
                "start_time_in_millis": 1755171703138,
                "time_in_millis": 0
              }
            }
          }
        },
        ".security-7": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 13,
              "size_in_bytes": 656344
            },
            "total": {
              "file_count": 13,
              "size_in_bytes": 656344
            },
            "start_time_in_millis": 1755171702137,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 13,
                  "size_in_bytes": 656344
                },
                "total": {
                  "file_count": 13,
                  "size_in_bytes": 656344
                },
                "start_time_in_millis": 1755171702137,
                "time_in_millis": 0
              }
            }
          }
        },
        ".kibana_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 22,
              "size_in_bytes": 96954
            },
            "total": {
              "file_count": 22,
              "size_in_bytes": 96954
            },
            "start_time_in_millis": 1755171703938,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 22,
                  "size_in_bytes": 96954
                },
                "total": {
                  "file_count": 22,
                  "size_in_bytes": 96954
                },
                "start_time_in_millis": 1755171703938,
                "time_in_millis": 0
              }
            }
          }
        },
        ".apm-custom-link": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 1,
              "size_in_bytes": 250
            },
            "total": {
              "file_count": 1,
              "size_in_bytes": 250
            },
            "start_time_in_millis": 1755171702938,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 1,
                  "size_in_bytes": 250
                },
                "total": {
                  "file_count": 1,
                  "size_in_bytes": 250
                },
                "start_time_in_millis": 1755171702938,
                "time_in_millis": 0
              }
            }
          }
        },
        ".kibana_ingest_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 7,
              "size_in_bytes": 239381
            },
            "total": {
              "file_count": 7,
              "size_in_bytes": 239381
            },
            "start_time_in_millis": 1755171702938,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 7,
                  "size_in_bytes": 239381
                },
                "total": {
                  "file_count": 7,
                  "size_in_bytes": 239381
                },
                "start_time_in_millis": 1755171702938,
                "time_in_millis": 0
              }
            }
          }
        },
        ".security-profile-8": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 4,
              "size_in_bytes": 8966
            },
            "total": {
              "file_count": 4,
              "size_in_bytes": 8966
            },
            "start_time_in_millis": 1755171704138,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 4,
                  "size_in_bytes": 8966
                },
                "total": {
                  "file_count": 4,
                  "size_in_bytes": 8966
                },
                "start_time_in_millis": 1755171704138,
                "time_in_millis": 0
              }
            }
          }
        },
        ".inference": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 10,
              "size_in_bytes": 17654
            },
            "total": {
              "file_count": 10,
              "size_in_bytes": 17654
            },
            "start_time_in_millis": 1755171703338,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 10,
                  "size_in_bytes": 17654
                },
                "total": {
                  "file_count": 10,
                  "size_in_bytes": 17654
                },
                "start_time_in_millis": 1755171703338,
                "time_in_millis": 0
              }
            }
          }
        },
        ".kibana_security_solution_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 13,
              "size_in_bytes": 46100
            },
            "total": {
              "file_count": 13,
              "size_in_bytes": 46100
            },
            "start_time_in_millis": 1755171702738,
            "time_in_millis": 200
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 13,
                  "size_in_bytes": 46100
                },
                "total": {
                  "file_count": 13,
                  "size_in_bytes": 46100
                },
                "start_time_in_millis": 1755171702738,
                "time_in_millis": 200
              }
            }
          }
        },
        ".kibana_task_manager_8.16.0_001": {
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 1,
            "failed": 0,
            "total": 1
          },
          "stats": {
            "incremental": {
              "file_count": 34,
              "size_in_bytes": 76119
            },
            "total": {
              "file_count": 34,
              "size_in_bytes": 76119
            },
            "start_time_in_millis": 1755171702538,
            "time_in_millis": 0
          },
          "shards": {
            "0": {
              "stage": "DONE",
              "stats": {
                "incremental": {
                  "file_count": 34,
                  "size_in_bytes": 76119
                },
                "total": {
                  "file_count": 34,
                  "size_in_bytes": 76119
                },
                "start_time_in_millis": 1755171702538,
                "time_in_millis": 0
              }
            }
          }
        }
      }
    }
  ]
}

```
