Remove old logs
This commit is contained in:
parent
f449ea9b9f
commit
6548c5a1d8
|
@ -126,6 +126,7 @@ mkdir -p -m 700 /home/backup
|
|||
# curl -s -XPUT "localhost:9200/_snapshot/snaprepo/snapshot_${DATE}?wait_for_completion=true" -o /tmp/es_snapshot_${DATE}.log
|
||||
# for i in $(curl -s -XGET "localhost:9200/_snapshot/snaprepo/_all?pretty=true" | grep '^ *"snapshot" : "snapshot_.*",$' | cut -d_ -f2 | sed 's/",$//' | head -n-10); do
|
||||
# curl -s -XDELETE "localhost:9200/_snapshot/snaprepo/snapshot_${i}"
|
||||
# rm /tmp/es_snapshot_${i}.log
|
||||
# done
|
||||
|
||||
## RabbitMQ : export config
|
||||
|
|
Loading…
Reference in a new issue