From 7401d52fa6655007951e09cb7916cd4ee10dcc9b Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Thu, 20 Dec 2018 21:38:46 +0000
Subject: [PATCH] cache_archive_content_max_disc_size_mb renamed.
---
borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java | 5 ++---
README.adoc | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.adoc b/README.adoc
index 25cc8e3..800af51 100644
--- a/README.adoc
+++ b/README.adoc
@@ -15,7 +15,7 @@
[source,json]
----
{
- "cache_archive_content_max_disc_size_mb" : 1000,
+ "max_archive_ontent_cache_capacity_mb" : 1000,
"repo-configs" : [ {
"display_name" : "My-Laptop-Local-Backup",
"repo" : "/Volumes/backup/my-laptop-backup",
@@ -28,7 +28,7 @@
} ]
}
----
-* `cache_max_disc_size_mb` specifies the cache size BorgButler may use for caching borg results (such as repository
+* `max_archive_ontent_cache_capacity_mb` specifies the cache size BorgButler may use for caching borg results (such as repository
information, archive information and also file list of archive content).
* `repo-configs`: You may add a list of all your repos with the borg variables. The name is only used for displaying
purposes.
diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
index 8aca808..14589ae 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
@@ -2,7 +2,6 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
-import de.micromata.borgbutler.BorgCommands;
import lombok.Getter;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
@@ -24,8 +23,8 @@
* Default is 100 MB (approximately).
*/
@Getter
- @JsonProperty("cache_archive_content_max_disc_size_mb")
- private int cacheArchiveContentMaxDiscSizeMB = 100;
+ @JsonProperty("max_archive_ontent_cache_capacity_mb")
+ private int maxArchiveContentCacheCapacityMb = 100;
/**
* Default is restore inside BorgButler's home dir (~/.borgbutler/restore).
--
Gitblit v1.10.0