| | |
| | | /** |
| | | * The borg version to install from github (optional). |
| | | */ |
| | | // @JsonIgnore needed by client: ConfigurationserverTab.jsx fails otherwise (conflicting borgVersion fields). |
| | | @JsonIgnore |
| | | var borgVersion: String? = null |
| | | |
| | | /** |
| | |
| | | |
| | | fun copyFrom(other: Configuration) { |
| | | borgCommand = other.borgCommand |
| | | borgVersion = other.borgVersion |
| | | maxArchiveContentCacheCapacityMb = other.maxArchiveContentCacheCapacityMb |
| | | showDemoRepos = other.showDemoRepos |
| | | } |
| | |
| | | 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. |