I’m running Duplicacy-Web in a docker container. I have 3 backup tasks.
Browsing through the docker configuration files, I found 3 preferences files each under the following directories…
/docker/duplicacy/cache/localhost/0/.duplicacy/preferences
/docker/duplicacy/cache/localhost/1/.duplicacy/preferences
/docker/duplicacy/cache/localhost/2/.duplicacy/preferences
I expected that each preferences
files would correspond to an individual backup task. Instead, each preference file shows 3 backups, only one of which is correct. For example…
{
"name": "photos",
"id": "my_library",,
"repository": "/library",
"storage": "b2://photos",
"encrypted": true,
"no_backup": false,
"no_restore": true,
"no_save_password": true,
"nobackup_file": "",
"keys": null,
"exclude_by_attribute": false
},
{
"name": "music",
"id": "my_library",,
"repository": "/library",
"storage": "b2://music",
"encrypted": true,
"no_backup": false,
"no_restore": true,
"no_save_password": true,
"nobackup_file": "",
"keys": null,
"exclude_by_attribute": false
},
{
"name": "library",
"id": "my_library",
"repository": "/library",
"storage": "b2://library",
"encrypted": true,
"no_backup": false,
"no_restore": true,
"no_save_password": true,
"nobackup_file": "",
"keys": null,
"exclude_by_attribute": false
}
In this one, only the 3rd entry is correct. The “library” repo goes to the “library” backup bucket… But the music and photos repos do not (they are connected to buckets for music and photos)… and the other two preferences
files include a correct task for each (along with two incorrect tasks).
The other two preferences files are similar, where one of the three backup tasks is correct. Overall. each preferences
file shows one correct backup task out of three.
Out of curiosity… I stopped the container and edited each preferences
file, so that only the correct task appeared. Then I restarted the container and ran each backup task. When they were complete, I re-examined the three preferences
files and saw that again, each contained three tasks, only one of which was correct.
I’m wondering if the integrity of my backups are good.
Before moving to docker, I ran Duplicacy-Web natively. Since those files still exist, I checked and found the same anomaly. Each preference file showed multiple tasks, only one of which was correct.
Why is this?