# Auto Backup Cluster over JDBC MYSQL

**URL:** <https://discuss.elastic.co/t/auto-backup-cluster-over-jdbc-mysql/23031>\
**Category:** Elasticsearch\
**Created:** [April 1, 2015, 9:02am UTC](https://discuss.elastic.co/t/auto-backup-cluster-over-jdbc-mysql/23031 "2015-04-01T09:02:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Crone](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@James\_Crone](https://discuss.elastic.co/u/James_Crone)\
**Post date:** [April 1, 2015, 9:02am UTC](https://discuss.elastic.co/t/auto-backup-cluster-over-jdbc-mysql/23031/1 "2015-04-01T09:02:04Z")

</div>

I have create a backup directory using FS Technique.

```
 PUT _snapshot/databackup {
   "type": "fs", 
   "settings": {
      "location": "/mount/backups/my_backup" 
   } }

```

Then:

```
 PUT _snapshot/my_backup/snapshot_2 {
   "indices": "completedata" }

```

Its working.But when my database table update or insert new records backup not update automatically.How Can i Do this auto  
backup after 1 day or by defining time.

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [April 1, 2015, 9:24pm UTC](https://discuss.elastic.co/t/auto-backup-cluster-over-jdbc-mysql/23031/2 "2015-04-01T21:24:24Z")

</div>

You need to run the backup again, you can use cron to schedule this.

On 1 April 2015 at 20:02, Abdul Rafay [arafay696@gmail.com](mailto:arafay696@gmail.com) wrote:

> I have create a backup directory using FS Technique.
> 
> ```
> PUT _snapshot/databackup {
> "type": "fs",
> "settings": {
> "location": "/mount/backups/my_backup"
> } }
> 
> ```
> 
> Then:
> 
> ```
> PUT _snapshot/my_backup/snapshot_2 {
> "indices": "completedata" }
> 
> ```
> 
> Its working.But when my database table update or insert new records backup not update automatically.How Can i Do this auto  
> backup after 1 day or by defining time.
> 
> Thanks in advance.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8e7de3a1-0fb0-44bd-9f6f-08a8bc7e2101%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-w5-vYQi8\_i6QaBu\_RS31%3D9zhgiPFbqphvJVwOnX5Miw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-w5-vYQi8_i6QaBu_RS31%3D9zhgiPFbqphvJVwOnX5Miw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:22am UTC](https://discuss.elastic.co/t/auto-backup-cluster-over-jdbc-mysql/23031/3 "2017-07-06T00:22:15Z")

</div>


