OneDrive for Business backup completed with errors

Hello again!

I’ve managed to get a backup on OneDrive for Business completed, however it came back with warnings.

29 Nov 2018 01:48: Result
DeletedFiles: 0

DeletedFolders: 0

ModifiedFiles: 0

ExaminedFiles: 88043

OpenedFiles: 88043

AddedFiles: 88043

SizeOfModifiedFiles: 0

SizeOfAddedFiles: 48554744717

SizeOfExaminedFiles: 48554744717

SizeOfOpenedFiles: 48554744717

NotProcessedFiles: 0

AddedFolders: 3828

TooLargeFiles: 0

FilesWithError: 0

ModifiedFolders: 0

ModifiedSymlinks: 0

AddedSymlinks: 0

DeletedSymlinks: 0

PartialBackup: False

Dryrun: False

MainOperation: Backup

CompactResults:

DeletedFileCount: 0

DownloadedFileCount: 0

UploadedFileCount: 0

DeletedFileSize: 0

DownloadedFileSize: 0

UploadedFileSize: 0

Dryrun: False

MainOperation: Compact

ParsedResult: Warning

Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

EndTime: 29/11/2018 01:47:53 (1543456073)

BeginTime: 29/11/2018 01:47:53 (1543456073)

Duration: 00:00:00.8756566

Messages: [

    2018-11-28 20:59:16 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,

    2018-11-28 20:59:19 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

    2018-11-28 20:59:27 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

    2018-11-28 21:25:37 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

    2018-11-28 21:26:26 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

]

Warnings: [

    2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

    2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

]

Errors: []

BackendStatistics:

    RemoteCalls: 640

    BytesUploaded: 16585896447

    BytesDownloaded: 62337239

    FilesUploaded: 635

    FilesDownloaded: 3

    FilesDeleted: 0

    FoldersCreated: 0

    RetryAttempts: 0

    UnknownFileSize: 0

    UnknownFileCount: 0

    KnownFileCount: 1399

    KnownFileSize: 36614245339

    LastBackupDate: 28/11/2018 20:59:16 (1543438756)

    BackupListCount: 1

    TotalQuotaSpace: 1099511627776

    FreeQuotaSpace: 1062800040668

    AssignedQuotaSpace: -1

    ReportedQuotaError: False

    ReportedQuotaWarning: False

    ParsedResult: Warning

    Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

    Messages: [

        2018-11-28 20:59:16 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,

        2018-11-28 20:59:19 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

        2018-11-28 20:59:27 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

        2018-11-28 21:25:37 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

        2018-11-28 21:26:26 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

    ]

    Warnings: [

        2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

        2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

    ]

    Errors: []

DeleteResults: null

RepairResults: null

TestResults:

MainOperation: Test

Verifications: [

    Key: duplicati-20181128T205916Z.dlist.zip.aes

    Value: [],

    Key: duplicati-i020743afacac48d99a10b79e50d486c3.dindex.zip.aes

    Value: [],

    Key: duplicati-b9c3fb049fc46465ca547da3f5b88c934.dblock.zip.aes

    Value: []

]

ParsedResult: Warning

Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

EndTime: 29/11/2018 01:48:31 (1543456111)

BeginTime: 29/11/2018 01:48:15 (1543456095)

Duration: 00:00:16.2096193

Messages: [

    2018-11-28 20:59:16 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,

    2018-11-28 20:59:19 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

    2018-11-28 20:59:27 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

    2018-11-28 21:25:37 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

    2018-11-28 21:26:26 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

]

Warnings: [

    2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

    2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

]

Errors: []

ParsedResult: Warning

Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

EndTime: 29/11/2018 01:48:31 (1543456111)

BeginTime: 28/11/2018 20:59:16 (1543438756)

Duration: 04:49:15.5059901

Messages: [

2018-11-28 20:59:16 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,

2018-11-28 20:59:19 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

2018-11-28 20:59:27 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

2018-11-28 21:25:37 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

2018-11-28 21:26:26 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bed676bcc23aa4a48b621f6428c385cbd.dblock.zip.aes (49.91 MB),

]

Warnings: [

2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

2018-11-28 20:59:16 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

]

Errors:

28 Nov 2018 12:13: Result
MainOperation: Repair

RecreateDatabaseResults: null

ParsedResult: Warning

Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

EndTime: 28/11/2018 12:13:30 (1543407210)

BeginTime: 28/11/2018 12:13:06 (1543407186)

Duration: 00:00:23.6676939

Messages: [

2018-11-28 12:13:06 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started,

2018-11-28 12:13:07 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-20181127T112844Z.dlist.zip.aes,

2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-20181128T051228Z.dlist.zip.aes,

]

Warnings: [

2018-11-28 12:13:06 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

2018-11-28 12:13:06 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

]

Errors:

BackendStatistics:

RemoteCalls: 1

BytesUploaded: 0

BytesDownloaded: 0

FilesUploaded: 0

FilesDownloaded: 0

FilesDeleted: 0

FoldersCreated: 0

RetryAttempts: 0

UnknownFileSize: 0

UnknownFileCount: 0

KnownFileCount: 764

KnownFileSize: 20028348892

LastBackupDate: 01/01/0001 00:00:00 (-62135596800)

BackupListCount: 0

TotalQuotaSpace: 1099511627776

FreeQuotaSpace: 1079386289214

AssignedQuotaSpace: -1

ReportedQuotaError: False

ReportedQuotaWarning: False

ParsedResult: Warning

Version: 2.0.4.4 (2.0.4.4_canary_2018-11-14)

Messages: [

    2018-11-28 12:13:06 +00 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started,

    2018-11-28 12:13:07 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),

    2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (764 bytes),

    2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-20181127T112844Z.dlist.zip.aes,

    2018-11-28 12:13:17 +00 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-20181128T051228Z.dlist.zip.aes,

]

Warnings: [

    2018-11-28 12:13:06 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-username is not supported and will be ignored,

    2018-11-28 12:13:06 +00 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --auth-password is not supported and will be ignored

]

Errors: []

Can you please advise what would that be?
Thanks,
Chris

1 Like

I can see that the warnings suggest that backup is looking for username and password that I have indeed originally supplied, and then I’ve added the new authentication later when username and password didn’t work. I’ve just tried removing those details, but now it’s only showing me the auth code, without those two options.

Is there any way I can remove that username and password manually, from some setting files, command line or something like that? Or do I have to recreate the backup from scratch?

When I actually copy the backup destination and put it in notepad, I can see that’s where it enters the username and password, but it doesn’t show them in the settings for me to remove them.

If notepad has an od4b:// URL with extra --auth-username and --auth-password, you could try deleting them then importing in Edit --> Destination --> Backup destination --> (three-dot menu) --> Import Destination URL

Microsoft OneDrive for Business (Microsoft.SharePoint.Client API) seems to say those options are valid, but perhaps they became invalid when you switched to “new authentication”? Is that --integrated-authentication?

2 Likes

Dear @ts678

By “new authentication” I mean the note from the link you’ve sent me:

“This backend is based on the Microsoft.SharePoint.Client library, and doesn’t support features like OAuth or two-factor authentication (2FA). The Microsoft OneDrive v2 backend supports these features, and is also compatible with OneDrive for Business.”

So that’s OAuth, which I believe is now the main authentication for Office 365

" If notepad has an od4b:// URL with extra --auth-username and --auth-password, you could try deleting them then importing in Edit --> Destination --> Backup destination --> (three-dot menu) --> Import Destination URL"

URL is actually: “onedrivev2://” - however, I’ve followed the same advice anyway and I can confirm that this has resolved the problem for me. Thank you very much for your assistance.

Thanks,
Chris

1 Like