# Kibana sync snapshot with rollover

**URL:** <https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [October 28, 2020, 2:33pm UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578 "2020-10-28T14:33:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hinoryo](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hinoryo](https://discuss.elastic.co/u/hinoryo)\
**Post date:** [October 28, 2020, 2:33pm UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/1 "2020-10-28T14:33:05Z")

</div>

hello all,  
i 've asked to archive an index daily , so i have created a ilm to make a rollover every day and after 2 hour delete the index , and also create a snapshot every day at a specific time .  
was trying to make the ilm and snapshot sync to not have a snapshot with duplicated information (index) but i have found that the rollover don't accrue exactly every 1 day (1day and 2 hour sometimes), for that i cant sync them  
PS :sry for my eng 🙂)  
Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 3, 2020, 12:12am UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/2 "2020-11-03T00:12:41Z")

</div>

Welcome to our community! 😃

Snapshots work on a shard level, so duplication is unlikely. Can you elaborate more on the ILM issue you are seeing? What does `_ilm/explain` show?

PS - we also have language specific categories as well - [https://discuss.elastic.co/c/in-your-native-tongue/11](https://discuss.elastic.co/c/in-your-native-tongue/11)

---

<div class="post-metadata">

**Author:** ![hinoryo](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hinoryo](https://discuss.elastic.co/u/hinoryo)\
**Post date:** [November 3, 2020, 8:46am UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/3 "2020-11-03T08:46:47Z")

</div>

Hello, thx for your replay  
i have changed the ilm to make a rollover every 4h and delete it after 1h , but the issue still remains  
my ilm/explain :

```auto

{
  "indices" : {
    "ntest-2020.10.30-000020" : {
      "index" : "ntest-2020.10.30-000020",
      "managed" : true,
      "policy" : "ilm-ntest",
      "lifecycle_date_millis" : 1604093963651,
      "age" : "3.41d",
      "phase" : "hot",
      "phase_time_millis" : 1604093965764,
      "action" : "rollover",
      "action_time_millis" : 1604094563469,
      "step" : "check-rollover-ready",
      "step_time_millis" : 1604094563469,
      "phase_execution" : {
        "policy" : "ilm-infra",
        "phase_definition" : {
          "min_age" : "0ms",
          "actions" : {
            "rollover" : {
              "max_age" : "4h"
            },
            "set_priority" : {
              "priority" : 100
            }
          }
        },
        "version" : 6,
        "modified_date_in_millis" : 1603808688158
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 4, 2020, 5:25am UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/4 "2020-11-04T05:25:17Z")

</div>

Can you share the policy you have created?

---

<div class="post-metadata">

**Author:** ![hinoryo](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@hinoryo](https://discuss.elastic.co/u/hinoryo)\
**Post date:** [November 4, 2020, 9:10am UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/5 "2020-11-04T09:10:02Z")

</div>

hello ,

 ![Screenshot_2020-11-04 Elastic](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da042c0a42963b210fdc4c975685e01d7e2f419c.png)  
 ![Screenshot_2020-11-04 Policies - Snapshot and Restore - Elastic](https://us1.discourse-cdn.com/elastic/original/3X/1/0/10117dadff9ba2262665755a4fa06ce616b064a5.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 2, 2020, 9:10am UTC](https://discuss.elastic.co/t/kibana-sync-snapshot-with-rollover/253578/6 "2020-12-02T09:10:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
