status: complete audience: both chapter: 05 last_updated: 2026-04 contributors: [alexwill87, claude-cockpit] lang: en


5. Maintenance

Keep your OpenClaw setup performant, reliable, and trustworthy over time.

A well-installed and configured agent remains reliable only if it is maintained. This chapter covers daily operations (logs, backups, health checks), agent maintenance itself (prompt, memory, errors), infrastructure management (updates, secrets, monitoring), and medium-term evolution (multi-agents, model changes, ROI measurement). By the end, you will know how to diagnose a problem, prevent drift, and evolve your setup without breaking it.

For country-specific regulatory adaptations, see chapter 7 (Localization).


Table of Contents

Part A -- Daily Operations

  • 5.1 -- Daily health check Automate a complete infrastructure diagnosis with cron and Telegram alerts

  • 5.2 -- Log management Locate logs, read them effectively, configure rotation and spot warning signals

  • 5.3 -- Backups Set up pg_dump, Hetzner snapshots and critical file backups, then test restoration

Part B -- Agent Maintenance

Part C -- Infra Maintenance

  • 5.8 -- System updates Plan Ubuntu, Docker, Node.js and Vault updates -- and know when not to do them

  • 5.9 -- Secrets rotation Renew credentials on a defined schedule, without service interruption

  • 5.10 -- Monitoring and alerts Choose between three levels: cron+Telegram, Uptime Kuma, or Grafana depending on your needs

  • 5.11 -- In case of outage Consult the diagnostic table by symptom with for each case: cause, fix and prevention

Part D -- Evolution


Contribute to this chapter -- CONTRIBUTING.md


Well done, you completed this section!
You covered: Table of Contents. Continue →

Commentaires et discussions


← Bilingual Configuration Daily Health Check →