Skip to content

How to perform routine maintenance

Daily

bash
systemctl --failed
df -h /
journalctl -u sshd -p err --since "24 hours ago" --no-pager | tail -30

Weekly

bash
yunohost diagnosis run
fail2ban-client status
apt list --upgradable 2>/dev/null | head

Monthly

  • Reboot if /var/run/reboot-required
  • docker system prune if Docker used
  • Test a backup restore on a non-prod path or list archives and restore drill

Northeast Systems · Aux Server · Infra Server