mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
20.38.2018 7401d52fa6655007951e09cb7916cd4ee10dcc9b
cache_archive_content_max_disc_size_mb renamed.
2 files modified
9 ■■■■■ changed files
README.adoc 4 ●●●● patch | view | raw | blame | history
borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java 5 ●●●●● patch | view | raw | blame | history
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.
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).