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

log
Kai Reinhard
29.27.2018 8ff275b2e06e908fc2e76c1dbc85ed81b61e2429
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# It's not the standard cache.ccf, because some properties should be changed programatically.
 
# DEFAULT CACHE REGION
 
jcs.default=DC
jcs.default.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=true
jcs.default.elementattributes.IsSpool=true
 
# PRE-DEFINED CACHE REGIONS
 
# For file system content (over million of entries for one borg backup archive.
#jcs.region.archiveContent=DC2
#jcs.region.archiveContent.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
#jcs.region.archiveContent.cacheattributes.MaxObjects=1000
#jcs.region.archiveContent.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
#jcs.region.archiveContent.cacheattributes.UseMemoryShrinker=true
#jcs.region.archiveContent.cacheattributes.MaxMemoryIdleTimeSeconds=3600
#jcs.region.archiveContent.cacheattributes.ShrinkerIntervalSeconds=60
# Only a few archive contents should be spooled (saved to disc):
#jcs.region.archiveContent.cacheattributes.MaxSpoolPerRun=5
#jcs.region.archiveContent.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
#jcs.region.archiveContent.elementattributes.IsEternal=false
 
 
# AVAILABLE AUXILIARY CACHES
 
jcs.auxiliary.DC=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.MaxKeySize=1000
jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true
# jcs.auxiliary.DC.attributes.DiskPath=${user.dir}/.borgbutler/cache # Will be configured in ~/.borgbutler.json
 
#jcs.auxiliary.DC2=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
#jcs.auxiliary.DC2.attributes=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
#jcs.auxiliary.DC2.attributes.OptimizeOnShutdown=true
#jcs.auxiliary.DC2.attributes.DiskLimitType=SIZE
# jcs.auxiliary.DC2.attributes.MaxKeySize=10000 (KB): Will be configured in ~/.borgbutler.json!
# jcs.auxiliary.DC2.attributes.DiskPath=${user.dir}/.borgbutler/cache # Will be configured in ~/.borgbutler.json