I run the compare command to see differences in last 2 backups, but cli doesn’t see them. Run compare command from web interface and it does see them. Duplicati-cli version is 2.0.4.5_beta_2018-11-28. Here are the results from command line:
--------------- start of output --------------
root@europa40:~# duplicati-cli compare /mnt/gfs2/backups/qvshare.duplicati/
Listing changes
1: 4/8/2019 4:00:01 AM
0: 4/8/2019 8:18:11 AM
Size of backup 1: 144.14 GB
2608 modified entries:
… cut out extraneous info …
Deleted files: 2
Modified folders: 1840
Modified files: 768
Size of backup 0: 143.02 GB
---------- end of output --------------
When run from the web interface, I get:
----------- start of output ------------
Finished!
Listing changes
1: 4/9/2019 4:00:00 AM
0: 4/10/2019 4:00:00 AM
Size of backup 1: 0 bytes
No changes found
Size of backup 0: 0 bytes
Return code: 0
----------- end of output ------------
Notice the dates for backups 0 and 1 - they are different compared to results from the command line.
I just noticed the web interface uses a different syntax for the path to backup destination. I f I repeat the cli command with file:/// type path it shows same result as web interface. Why the difference, when actual path ends up being the same? Here is the output for the file:/// syntax:
---------------- start of output ---------------------
root@europa40:~# duplicati-cli compare file:///mnt/gfs2/backups/qvshare.duplicati/
Enter encryption passphrase:
Listing remote folder …
Downloading file (14.35 MB) …
Downloading file (14.35 MB) …
Listing changes
1: 4/9/2019 8:00:00 AM
0: 4/10/2019 8:00:00 AM
Size of backup 1: 143.02 GB
1 added entries:
… cut out extraneous info …
Added files: 1
Modified folders: 2033
Modified symlinka: 4
Modified files: 3117
Size of backup 0: 143.02 GB
--------- end of output ----------
I also just realized that when running the compare command from the web interface, I need to delete some of the default options, otherwise it reported the size of backups 0 and 1 as 0 bytes.
Still, why must I use the file:/// syntax, and why not get an error if I don’t use it, instead of showing me some other backups. Also, there is a typo in the output results : “Modified symlinka:” instead of “Modified symlinks:”
Here is some more info, listing out all the backup sets:
---------- start of output ---------------
root@europa40:~# duplicati-cli find /mnt/gfs2/backups/qvshare.duplicati/
Listing filesets:
0 : 4/8/2019 8:18:11 AM (149615 files, 143.02 GB)
1 : 4/8/2019 4:00:01 AM (149617 files, 144.14 GB)
2 : 4/7/2019 7:56:46 AM (149617 files, 144.14 GB)
3 : 4/5/2019 4:00:00 AM (56528 files, 97.33 GB)
4 : 4/4/2019 11:58:27 AM (56528 files, 97.33 GB)
5 : 4/4/2019 8:43:02 AM (28698 files, 24.60 GB)
6 : 4/4/2019 8:08:31 AM (3259 files, 7.03 GB)
root@europa40:~# duplicati-cli find file:///mnt/gfs2/backups/qvshare.duplicati/
Enter encryption passphrase:
Listing remote folder …
Listing filesets:
0 : 4/10/2019 4:00:00 AM
1 : 4/9/2019 4:00:00 AM
2 : 4/8/2019 8:18:11 AM
3 : 4/8/2019 4:00:01 AM
4 : 4/7/2019 7:56:46 AM
5 : 4/5/2019 4:00:00 AM
6 : 4/4/2019 11:58:27 AM
7 : 4/4/2019 8:43:02 AM
8 : 4/4/2019 8:08:31 AM
-------- end of output ----------
Strange that I was not asked for the encryption key when not using file:/// syntax, and it shows more details of the backups than does the output using file:/// syntax.