aboutsummaryrefslogtreecommitdiff
path: root/doc/book/reference-manual
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-04-10 14:38:14 +0200
committerAlex Auvolat <alex@adnab.me>2024-04-10 14:38:14 +0200
commitff093ddbb8485409f389abe7b5e569cb38d222d2 (patch)
treedd19e317663113277dc4f7c5a2c1d3869c7f5db6 /doc/book/reference-manual
parent90e3c2af915251720a4253f78f3f1b4ba844800d (diff)
parent738bb2f09c09f7532558214065b8e0abbea0edd1 (diff)
downloadgarage-ff093ddbb8485409f389abe7b5e569cb38d222d2.tar.gz
garage-ff093ddbb8485409f389abe7b5e569cb38d222d2.zip
Merge branch 'main' into next-0.10v1.0.0next-0.10
Diffstat (limited to 'doc/book/reference-manual')
-rw-r--r--doc/book/reference-manual/configuration.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index 49bff05b..fdeedf22 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -390,10 +390,12 @@ if geographical replication is used.
If this value is set, Garage will automatically take a snapshot of the metadata
DB file at a regular interval and save it in the metadata directory.
-This can allow to recover from situations where the metadata DB file is corrupted,
-for instance after an unclean shutdown.
-See [this page](@/documentation/operations/recovering.md#corrupted_meta) for details.
+This parameter can take any duration string that can be parsed by
+the [`parse_duration`](https://docs.rs/parse_duration/latest/parse_duration/#syntax) crate.
+Snapshots can allow to recover from situations where the metadata DB file is
+corrupted, for instance after an unclean shutdown. See [this
+page](@/documentation/operations/recovering.md#corrupted_meta) for details.
Garage keeps only the two most recent snapshots of the metadata DB and deletes
older ones automatically.