Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EndTime: 0001-01-01T00:00:00, Duration: 00:00:00 after restore with 2.0.4.21 (2.0.4.21_experimental_2019-06-28) #3853

Open
archon810 opened this issue Aug 8, 2019 · 1 comment

Comments

@archon810
Copy link

commented Aug 8, 2019

  • I have searched open and closed issues for duplicates.

Environment info

  • Duplicati version: 2.0.4.21_experimental_2019-06-28
  • Operating system: OpenSUSE 15.1
  • Backend: Google Drive

Description

Just took a Linux backup to Google Drive, did a restore to my Windows box using 2.0.4.21 (2.0.4.21_experimental_2019-06-28), and spotted this oddity at the end of a successful restore (with 6 warnings about symlinks):

Note the invalid EndTime and Duration values. Is this a known bug? I spotted it in a few google searches already, but nobody brought attention to it yet.

"Errors": [],
  "BackendStatistics": {
    "RemoteCalls": 77,
    "BytesUploaded": 0,
    "BytesDownloaded": 18901306988,
    "FilesUploaded": 0,
    "FilesDownloaded": 76,
    "FilesDeleted": 0,
    "FoldersCreated": 0,
    "RetryAttempts": 0,
    "UnknownFileSize": 0,
    "UnknownFileCount": 0,
    "KnownFileCount": 154,
    "KnownFileSize": 18904464930,
    "LastBackupDate": "2019-08-06T17:28:03-07:00",
    "BackupListCount": 2,
    "TotalQuotaSpace": 11195518050471,
    "FreeQuotaSpace": 10995116277760,
    "AssignedQuotaSpace": -1,
    "ReportedQuotaError": false,
    "ReportedQuotaWarning": false,
    "MainOperation": "Restore",
    "ParsedResult": "Success",
    "Version": "2.0.4.21 (2.0.4.21_experimental_2019-06-28)",
    "EndTime": "0001-01-01T00:00:00",
    "BeginTime": "2019-08-07T03:40:44.4185807Z",
    "Duration": "00:00:00",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null
  }

Just checked the log for a restore done to the same Linux box, and the bug is present there too.

"Warnings": [],
  "Errors": [],
  "BackendStatistics": {
    "RemoteCalls": 77,
    "BytesUploaded": 0,
    "BytesDownloaded": 18901306988,
    "FilesUploaded": 0,
    "FilesDownloaded": 76,
    "FilesDeleted": 0,
    "FoldersCreated": 0,
    "RetryAttempts": 0,
    "UnknownFileSize": 0,
    "UnknownFileCount": 0,
    "KnownFileCount": 154,
    "KnownFileSize": 18904464930,
    "LastBackupDate": "2019-08-06T17:28:03-07:00",
    "BackupListCount": 2,
    "TotalQuotaSpace": 11171835604297,
    "FreeQuotaSpace": 10995116277760,
    "AssignedQuotaSpace": -1,
    "ReportedQuotaError": false,
    "ReportedQuotaWarning": false,
    "MainOperation": "Restore",
    "ParsedResult": "Success",
    "Version": "2.0.4.21 (2.0.4.21_experimental_2019-06-28)",
    "EndTime": "0001-01-01T00:00:00",
    "BeginTime": "2019-08-07T00:31:55.390375Z",
    "Duration": "00:00:00",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null
  }

First posted here https://forum.duplicati.com/t/endtime-0001-01-01t0000-duration-0000-after-restore-with-2-0-4-21-2-0-4-21-experimental-2019-06-28/7718.

@ts678

This comment has been minimized.

Copy link
Contributor

commented Aug 9, 2019

Decouple BasicResults object properties from its children
cited in
Improve UI for backup logs #3510
might be the cause. I don't know enough about result classes and serialization to know, but the issue does date back to about the right time, i.e. it's in v2.0.4.6-2.0.4.6_canary_2018-12-11 and its excellent

Reworked the log UI, thanks @LacunaSoftware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.