Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
systemctl stop prometheus
# You dont need the old metrics data
rm -rf /var/lib/prometheus 
cd /
tar xvzf prometheus-state-ddmmyyyy.tgz
chown -R prometheus. /var/lib/prometheus
systemctl daemon-reload
prometheus
systemctl start prometheus

...