[Elasticsearch] snapshot (backup) 생성 #Elasticsearch (5.0.1) snapshot 생성 1. config path.repo: ["[MOUNT_PATH]"] 2. restart all nodes 3. create backup curl -XPUT '[IP]:9200/_snapshot/my_backup' -d '{ "type": "fs", "settings": { "location": "[MOUNT_PATH]", "compress": true } }' 4. check curl -XGET '[IP]:9200/_snapshot/my_backup?pretty' 5. excute curl -XPUT '[IP]:9200/_snapshot/my_backup/snapshot_20170801?wait_for_completion=true&pretty.. 더보기 [CRAWL] Simple Html Dom Parser 에서 자식노드 가져오기 Simple Html Dom Parser 에서 자식노드 가져오기 $uid = $html->find("span[class=entry-author]", 0)->childNodes(0)->childNodes(0)->innertext; 더보기 [CRAWL] Simple HTML DOM wildcard in attribute Simple HTML DOM wildcard in attribute [attribute] - Matches elements that have the specified attribute.[!attribute] - Matches elements that don't have the specified attribute.[attribute=value] - Matches elements that have the specified attribute with a certain value.[attribute!=value] - Matches elements that don't have the specified attribute with a certain value.[attribute^=value] - Matches ele.. 더보기 이전 1 2 3 4 5 ··· 44 다음