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

Kai Reinhard
19.29.2022 9926a79503c9bd6454c076f2b60cd577f6061e4d
borgbutler-core/src/main/kotlin/de/micromata/borgbutler/config/Configuration.kt
@@ -30,8 +30,6 @@
    /**
     * The borg version to install from github (optional).
     */
    // @JsonIgnore needed by client: ConfigurationserverTab.jsx fails otherwise (conflicting borgVersion fields).
    @JsonIgnore
    var borgVersion: String? = null
    /**
@@ -101,6 +99,7 @@
    fun copyFrom(other: Configuration) {
        borgCommand = other.borgCommand
        borgVersion = other.borgVersion
        maxArchiveContentCacheCapacityMb = other.maxArchiveContentCacheCapacityMb
        showDemoRepos = other.showDemoRepos
    }
@@ -123,6 +122,10 @@
        return this
    }
    override fun toString(): String {
        return "borgCommand=[$borgCommand], borgVersion=[$borgVersion], workingDir=[$workingDir], maxArchiveContentCacheCapacityMb=[$maxArchiveContentCacheCapacityMb], showDemoRepos=[$showDemoRepos]"
    }
    companion object {
        /**
         * Default dir name for restoring archives.