How to Backup Cluster by Time Scheduled:

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3aa4d6ea-a0c5-427c-973d-90ea292700c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You can set up a cron job to run a script like this every day

#!/bin/sh

curl -XPUT "localhost:9200/_snapshot/my_s3_repository/$(date
+"%Y.%m.%d.%H.%M.%S")?wait_for_completion=true?pretty"

On Wednesday, April 1, 2015 at 5:17:57 PM UTC+5:30, James Crone 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d0b746f4-4587-44d5-872a-ccec64e41cdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.