diff options
author | Alex Auvolat <alex@adnab.me> | 2024-04-10 14:38:14 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-04-10 14:38:14 +0200 |
commit | ff093ddbb8485409f389abe7b5e569cb38d222d2 (patch) | |
tree | dd19e317663113277dc4f7c5a2c1d3869c7f5db6 /doc/book/reference-manual | |
parent | 90e3c2af915251720a4253f78f3f1b4ba844800d (diff) | |
parent | 738bb2f09c09f7532558214065b8e0abbea0edd1 (diff) | |
download | garage-next-0.10.tar.gz garage-next-0.10.zip |
Diffstat (limited to 'doc/book/reference-manual')
-rw-r--r-- | doc/book/reference-manual/configuration.md | 8 |
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. |