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

Issue with latest version of duplicati beta #11

Closed swilkey closed 5 years ago

swilkey commented 5 years ago

Hi @Pectojin,

I'm seeing a strange thing with your duplicati client talking to the latest version of duplicati beta. When you do a backup, the web client indicates that the backup has finished successfully, but your duplicati command line client indicates the following: Progress: BackendAction: Get BackendFileProgress: 11426877 BackendFileSize: 11426877 BackendIsBlocking: false BackendPath: duplicati-b1cfa4892296247b0bcc7479354f1df6a.dblock.zip.aes BackendSpeed: 4676 BackupID: '1' CurrentFilename: null CurrentFileoffset: 0 CurrentFilesize: 0 OverallProgress: 1.0 Phase: Backup_WaitForUpload ProcessedFileCount: 8 ProcessedFileSize: 64994320 StillCounting: false TaskID: 2 TotalFileCount: 1582 TotalFileSize: 818099961 Schedule: null

This is from duplicati_client describe backup 1

I've reproduced this on three different PCs so it seems consistent. As you can see, the commandline client believes that we are still in "Backup_WaitForUpload" state even though the backup has finished according to the web client.

Do you know why this is? thanks

Pectojin commented 5 years ago

It appears the Duplicati server always reports these starts, even after finishing the run. I've filtered them out on get, but I can see how it's confusing on describe.

swilkey commented 5 years ago

Oh, I see. thanks. I had assumed that the status would be identical between the two. I'll use get for that in future!

Pectojin commented 5 years ago

I've updated the command so that the progress is hidden on both get and describe when the task has completed. It's less confusing this way.

I'll get it into a release soon.

swilkey commented 5 years ago

Cool. Thanks so much!

On Dec 31, 2018 at 4:12 AM, <Rune Henriksen notifications@github.com> wrote:

I've updated the command so that the progress is hidden on both get and describe when the task has completed. It's less confusing this way.

I'll get it into a release soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Pectojin/duplicati-client/issues/11#issuecomment-450583798, or mute the thread https://github.com/notifications/unsubscribe-auth/AHtLzHu2bhfF45kAqsQ8GgxPcxNY5zc0ks5u-R45gaJpZM4ZVJIw .