curl -XPUT "http://localhost:9200/_snapshot/javacafe" -H "Content-Type: application/json" -d "{""type"" : ""fs"",""settings"" : {""location"": ""C:\\Users\\사용자명\\Downloads\\elasticsearchs\\6.4.3\\book_backup\\search_example"",""compress"" : true}}"
> 윈도우에서 수행 시 쌍따옴표 쓸 것, 경로 표기(\\) 유의할 것, -H "Content-Type: application/json" 추가할 것.
'업무일지(inbox)' 카테고리의 다른 글
211021 (0) | 2021.10.21 |
---|---|
211019 (0) | 2021.10.19 |
윈도우 choco 설치 (0) | 2021.09.29 |
[spring. 스프링] 프로젝트 변경 내용 반영하기 (0) | 2021.05.14 |