I’ve been running a series of tests to help me understand how Duplicacy works. I’m using a simple folder structure, where repo-1 has a couple of files, and, to start with, storage-1 and storage-2 are empty.
C:\TEMP\DUP-TEST
├───repos
│ └───repo-1
└───storages
├───storage-1
└───storage-2
Below are two sequences of commands, each starting with a fresh copy of the structure above. The only difference between the two sets is that the second one uses the -e option to enable encryption. The encryption key I’m using for everything is “aaaaaaaa”.
I expect that after each batch of commands has run, the folder structure and files of storage-1 and storage-2 will be identical. For the fist batch, without encryption, this holds true. For the second, with encryption, they are different.
In the second case, there are the same number of chunk files in the two storage folders, with the same names and sizes, but the contents are different. The config files are also different. I was under the impression that using the -bit-identical option would ensure that everything remained the same, and that encryption would only effect the config file. Also, by using the same password, I would expect the encrypted config files to be the same.
What am I misunderstanding?
duplicacy -log init -storage-name repo-1-storage-1 repo-1 c:\temp\dup-test\storages\storage-1
duplicacy -log backup -storage c:\temp\dup-test\storages\storage-1
duplicacy -log add -copy repo-1-storage-1 -bit-identical repo-1-storage-2 repo-1 c:\temp\dup-test\storages\storage-2
duplicacy -log backup -storage c:\temp\dup-test\storages\storage-2
duplicacy -log init -e -storage-name repo-1-storage-1 repo-1 c:\temp\dup-test\storages\storage-1
duplicacy -log backup -storage c:\temp\dup-test\storages\storage-1
duplicacy -log add -copy repo-1-storage-1 -bit-identical -e repo-1-storage-2 repo-1 c:\temp\dup-test\storages\storage-2
duplicacy -log backup -storage c:\temp\dup-test\storages\storage-2