> 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/es/web-interface/administration/database-retention-policies.md).

# Políticas de retención de la base de datos

Configure las políticas de retención de la base de datos en Devolutions Server para archivar y eliminar automáticamente los registros después de períodos de tiempo configurables, o para purgarlos de f

La funcionalidad ***Políticas de retención de la base de datos*** permite archivar los registros disponibles en la base de datos que sean más antiguos que el período seleccionado. También puede eliminar estos registros archivados según el límite de tiempo seleccionado en los parámetros.

<table><thead><tr><th width="324">Opciones</th><th>Descripciones</th></tr></thead><tbody><tr><td><strong>Habilitar limpieza automática</strong></td><td>Habilite la función de limpieza automática de registros para archivar y eliminar registros de forma automática.</td></tr><tr><td><strong>Ejecutar cada día a las</strong></td><td>Establezca la hora a la que se ejecutará la función.</td></tr><tr><td><strong>Usar archivado</strong></td><td>Si está habilitado, la tarea archivará y eliminará los registros según el período seleccionado en las dos listas desplegables.</td></tr><tr><td><strong>Archivar registros más antiguos de</strong></td><td><p>Archivará los registros que sean más antiguos que el valor seleccionado en la lista desplegable.</p><ul><li>Personalizado</li><li>Un mes</li><li>Tres meses</li><li>Seis meses</li><li>Un año</li></ul></td></tr><tr><td><strong>Eliminar registros archivados más antiguos de</strong></td><td><p>Eliminará todos los registros archivados que sean más antiguos que el valor seleccionado en la lista desplegable.</p><ul><li>Tres meses</li><li>Seis meses</li><li>Un año</li><li>Dos años</li></ul></td></tr><tr><td><strong>Omitir el archivado y eliminar permanentemente</strong></td><td>Si está habilitado, no archivará los registros y los eliminará permanentemente.</td></tr><tr><td><strong>Eliminar registros más antiguos de</strong></td><td><p>Eliminará permanentemente todos los registros más antiguos que el valor seleccionado en la lista desplegable.</p><ul><li>Personalizado</li><li>Un mes</li><li>Tres meses</li><li>Seis meses</li><li>Un año</li><li>Dos años</li></ul></td></tr><tr><td><strong>Avanzado</strong></td><td>La configuración <a href="/server/es/web-interface/administration/database-retention-policies.md">Avanzado</a> sirve para configurar las operaciones de archivado y eliminación en cada tipo de registros.</td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/es/web-interface/administration/database-retention-policies.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
