This commit is contained in:
t3chn0m4g3
2019-03-20 10:09:07 +00:00
parent 96d1c16958
commit da6299e6a1
8 changed files with 40 additions and 348 deletions

View File

@ -1,4 +1,13 @@
#!/bin/bash
# Run as root only.
myWHOAMI=$(whoami)
if [ "$myWHOAMI" != "root" ]
then
echo "Need to run as root ..."
sudo ./$0
exit
fi
# Backup all ES relevant folders
# Make sure ES is available
myES="http://127.0.0.1:64298/"