From 1797757459a7c17092c6afe9674f904cb2f0e772 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 28 Oct 2022 18:42:28 +0200 Subject: [PATCH] ascii whitespace --- client/zzz_evobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/zzz_evobackup b/client/zzz_evobackup index a9ddd86..9871b44 100755 --- a/client/zzz_evobackup +++ b/client/zzz_evobackup @@ -316,7 +316,7 @@ local_tasks() { # else # echo 'Cannot make a snapshot of elasticsearch, at least one node is not mounting the repository.' # fi - ## If you need to keep older snapshot, for example the last 10 daily snapshots, replace the XDELETE and XPUT lines by : + ## If you need to keep older snapshot, for example the last 10 daily snapshots, replace the XDELETE and XPUT lines by : # for snapshot in $(curl -s -XGET "localhost:9200/_snapshot/snaprepo/_all?pretty=true" | grep -Eo 'snapshot_[0-9]{4}-[0-9]{2}-[0-9]{2}' | head -n -10); do # curl -s -XDELETE "localhost:9200/_snapshot/snaprepo/${snapshot}" | grep -v -Fx '{"acknowledged":true}' # done