ApacheWatch

Self-hosted edition

Upgrading, backups and removal

Upgrading

Install the new package over the old one:

sudo dnf upgrade ./apache-monitor-*.x86_64.rpm

The service restarts on the new version. Settings, users, license and history in /var/lib/apache-monitor and /etc/apache-monitor are kept. Upgrade agents the same way with the apache-agent package; they reconnect by themselves.

Backups

Everything that belongs to you is in two directories. Back them up together:

sudo tar -czf apache-monitor-backup-$(date +%F).tar.gz /var/lib/apache-monitor /etc/apache-monitor

To restore: install the same or a newer package, stop the service, extract the archive over /, and start the service again.

Removing

sudo dnf remove apache-monitor

The service stops and its license seat is released. Your data in /var/lib/apache-monitor is kept; delete it yourself if you don't need it:

sudo rm -rf /var/lib/apache-monitor /etc/apache-monitor