mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-31 07:16:22 +00:00
account for new es cluster name
This commit is contained in:
parent
fd14e731d2
commit
f5a5478732
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ sleep 10
|
|||
echo "Now backing up Elasticsearch data ..."
|
||||
tar cvfz $myBACKUPPATH"$myDATE"_elkall.tgz $myELKPATH
|
||||
rm -rf "$myELKPATH"log/*
|
||||
rm -rf "$myELKPATH"data/elasticsearch/nodes/0/indices/logstash*
|
||||
rm -rf "$myELKPATH"data/tpotcluster/nodes/0/indices/logstash*
|
||||
tar cvfz $myBACKUPPATH"$myDATE"_elkbase.tgz $myELKPATH
|
||||
rm -rf $myELKPATH
|
||||
tar xvfz $myBACKUPPATH"$myDATE"_elkall.tgz -C /
|
||||
|
|
Loading…
Reference in a new issue