# Backup & Recovery

Rierino platform uses external systems for storing and managing all of its state data. As a result, it is possible to create resilience, backup and restore complete platform by using underlying data systems.

While it is possible to export and import individual database tables from within the Rierino platform, for direct backup and recovery, using native system tools is recommended:

{% embed url="<https://www.mongodb.com/docs/manual/core/backups/>" %}
MongoDB Backup Methods
{% endembed %}

{% embed url="<https://www.keycloak.org/server/importExport>" %}
Keycloak Import / Export
{% endembed %}

In case of individual service faults (e.g. a specific microservice failure), it is possible to simply send a rebuild command to or restart failing service.

{% hint style="info" %}
While it is possible to also backup ConfigMap and Secret entries, they can be also recreated automatically using Ansible playbooks unless their contents are manually modified.
{% endhint %}


---

# Agent Instructions: 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.rierino.com/installation/administration/backup-and-recovery.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.
