Hello
My repository.config is overwritten every run even i’m manually updating it.
cat repository.config
“caching”: {
“cacheDirectory”: “../../.cache/kopia/28fae893ff376ee2”,
“maxCacheSize”: 5242880000,
“maxMetadataCacheSize”: 5242880000,
“maxListCacheDuration”: 30
then I’m running
kopia cache set --content-cache-size-mb=24000 --cache-directory=/var/exploit/.cache
that is updating the file
cat repository.config
“caching”: {
“cacheDirectory”: “../../../var/exploit/.cache”,
“maxCacheSize”: 24000000000,
“maxMetadataCacheSize”: 5242880000,
“maxListCacheDuration”: 30
Then during backup, i’m connecting to the repo as below
kopia repository connect from-config --file=/root/.config/kopia/repository.config
And the file is overwritten as below (back to initial)
“caching”: {
“cacheDirectory”: “../../.cache/kopia/28fae893ff376ee2”,
“maxCacheSize”: 5242880000,
“maxMetadataCacheSize”: 5242880000,
“maxListCacheDuration”: 30
How can i prevent my repository.config been overwritten or sometimes even deleted ?