@gchen, just to put this all in one post, my filters file includes:
+test1 # This should not be needed, but is to follow symlink
+test2 # This should not be needed, but is to follow symlink
Yet, as requested, the output from the -d backup command (either with or without the -dry-run option) reports the following:
test1 is excluded by pattern -*
test2 is excluded by pattern -*
Even more telling, is the fact that I now see (I didn’t see this in previous run with --bind version) a large number of lines in the output similar to the following:
Delete chunk 0082d8c5ca25330221ad4dc148da74bfd60446ca2cc952ab7459f4b1034d65cd from the snapshot cache
Delete chunk 00ee77e0de606dd6c8f0812b5a464f95ca9273e190a543ec9dadb4fb03f51db2 from the snapshot cache
This backup run against the symlinks has removed the dirs/files that had been included by the immediately preceding mount --bind backup run that had been completed just before the symlink version (as there were no ‘organic’ or other deletes that could otherwise explain this). This is further confirmed by checking the history of one such file with the following command:
duplicacy -v history -r 22 -r $last "test1/Qmultimedia/Photos/2018/Spring/20180516_084431.jpg"
and the associated output:
Using 16384 iterations for key derivation
22: 2051696 2018-05-16 08:44:31 ce1a37c6188699daa9fa9f42d9a97652d3d0fbaf339a1d6c23ea4fa9e8579ed4 test1/Qmultimedia/Photos/2018/Spring/20180516_084431.jpg
current: 2051696 2018-05-16 08:44:31 test1/Qmultimedia/Photos/2018/Spring/20180516_084431.jpg
The links are as follows:
>:~$ ls -ld test1 test2
lrwxrwxrwx 1 gouldt gouldt 23 Aug 19 17:49 test1 -> /media/gouldt/test1
lrwxrwxrwx 1 gouldt gouldt 22 Aug 19 17:50 test2 -> /media/gouldt/test2
This is all with the very latest 2.1.1 version on an Ubuntu 16.04 LTS system.
Please let me know what else I can do to help you.