mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-31 13:43:02 +02:00
29 lines
549 B
Markdown
29 lines
549 B
Markdown
---
|
|
title: MongoDB
|
|
eleventyNavigation:
|
|
key: MongoDB
|
|
parent: 🗄️ Data sources
|
|
---
|
|
|
|
<span class="minilink minilink-addedin">New in version 1.5.22</span> To backup
|
|
MongoDB with borgmatic, use the `mongodb_databases:` hook. For example:
|
|
|
|
```yaml
|
|
mongodb_databases:
|
|
- name: messages
|
|
```
|
|
|
|
|
|
## Full configuration
|
|
|
|
{% include snippet/configuration/sample.md %}
|
|
|
|
```yaml
|
|
{% include borgmatic/mongodb_databases.yaml %}
|
|
```
|
|
|
|
|
|
## Related documentation
|
|
|
|
* [How to backup your databases](https://torsion.org/borgmatic/how-to/backup-your-databases/)
|