diff options
author | Alex <lx@deuxfleurs.fr> | 2025-01-27 18:04:05 +0000 |
---|---|---|
committer | Alex <lx@deuxfleurs.fr> | 2025-01-27 18:04:05 +0000 |
commit | efa6f3d85ee5a4db870aa429f57b946829af8552 (patch) | |
tree | 50a38f3e8ce48f3f7f23ca74e5e50a80dad9fba3 /src/util | |
parent | 5e3e1f4453dacc814c79bbec08cd5acadb2ce4d0 (diff) | |
parent | 59c153d2804500b51362b20c3c8252383ef0e9ce (diff) | |
download | garage-efa6f3d85ee5a4db870aa429f57b946829af8552.tar.gz garage-efa6f3d85ee5a4db870aa429f57b946829af8552.zip |
Merge pull request 'db-snapshot: allow to set directory where snapshots are stored' (#933) from baptiste/garage:configure_metadata_snapshots_dir into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/933
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index 01f7350a..b4e2b008 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -31,6 +31,9 @@ pub struct Config { #[serde(default)] pub use_local_tz: bool, + /// Optional directory where metadata snapshots will be store + pub metadata_snapshots_dir: Option<PathBuf>, + /// Automatic snapshot interval for metadata #[serde(default)] pub metadata_auto_snapshot_interval: Option<String>, |