Pectojin / duplicati-client

A command line client for controlling the Duplicati Server
GNU Lesser General Public License v2.1
75 stars 20 forks source link

Possible error: getting the middle of logs, not last ones #31

Closed avmaksimov closed 2 years ago

avmaksimov commented 2 years ago

Hello. I don't understand if it's a problem on my environment or not but I see not last log(s) but logs from the middle. For example today is 06 aug 2022, but I see the last only 1 aug 2022 and 4 before. But there are 15 backup logs.

I see it with at least with two backups. I use -all parameter .

I started searching a bug in Duc but I can't see it. May be the author know better this moment or perhaps API of Duplicati,

avmaksimov commented 2 years ago

Of course in web I see all backup logs.

avmaksimov commented 2 years ago

I've found the solution. The lines or pages must be as bigger as possible. If it is for example = 999 there is no problem. I think the problem is sorting result absence in Duplicati API but may be it's needed some flag.

Is somewhere exists the API document for duplicati or could you explain this behaviour?))

avmaksimov commented 2 years ago

I've made the solution and pulled to you: https://github.com/Pectojin/duplicati-client/pull/32 .