How to provide name to the snapshot using curator


(Vikas Gopal) #1

Hi Experts,

I am using Curator to take backup of indices. I am able to create snapshot using following command . Now I want to mention a name to this snapshot .

curator --host localhost --port 9200 --http_auth admin:XXXX snapshot --repository god indices --prefix tot

With this command it takes snapshot of the index starts with tot and it creates snapshot with the default name like "snapshot-curator-20150714094001". I want to give my customized name .Please suggest how I can achieve this ?

Thanks
Vikas


(Vikas Gopal) #2

I cracked it, so to provide name we need to use --name option . Something like

curator --host localhost --port 9200 --http_auth admin:XXXX snapshot --name myindex --repository god indices --prefix tot


(system) #3