> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/concepts/intermediate-concepts-md/maintenance-logs-logs-cleanup-upgrade-and-update.md).

# Maintenance (logs, logs cleanup, upgrade, and update)

Maintenance in Devolutions Server covers managing logs, cleaning up historical data, and applying software updates in a controlled way. Log retention and cleanup jobs keep the database responsive while preserving the audit trail required by your policies.

Regularly reviewing maintenance reports, pruning obsolete entries, and following the documented upgrade procedures reduces downtime and surprises during version changes. A best practice is to schedule backups and cleanup tasks, test upgrades in a staging environment linked to a copy of production data, and document each change in the system’s own vaults.

#### Related topics

* [Reports](https://docs.devolutions.net/server/web-interface/utilities/reports/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/server/concepts/intermediate-concepts-md/maintenance-logs-logs-cleanup-upgrade-and-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
