So, even when changing the schedule to only get one backup at once, I’m getting the error.
I found the previous version used in the log: 2.0.5.112 (2.0.5.112_canary_2021-01-20)
The last time the schedule version works was 2021-03-08 01:00:00 (UTC+1) (if it’s date related ??)
I will try using a ssh mountpoint in windows next (using nsoftware sftp drive) to see if the problem is ssh related or not. I will also try scheduling during the day. I will update this thread once I have further informations (Monday I think).
The full error is:
System.Security.Cryptography.CryptographicException: Failed to decrypt data (invalid passphrase?): Message has been altered, do not trust content —> SharpAESCrypt.SharpAESCrypt+HashMismatchException: Message has been altered, do not trust content
at SharpAESCrypt.SharpAESCrypt.Read(Byte buffer, Int32 offset, Int32 count)
at Duplicati.Library.Utility.Utility.CopyStream(Stream source, Stream target, Boolean tryRewindSource, Byte buf)
at Duplicati.Library.Encryption.EncryptionBase.Decrypt(Stream input, Stream output)
— End of inner exception stack trace —
at Duplicati.Library.Main.AsyncDownloader.AsyncDownloaderEnumerator.AsyncDownloadedFile.get_TempFile()
at Duplicati.Library.Main.Operation.CompactHandler.DoCompact(LocalDeleteDatabase db, Boolean hasVerifiedBackend, IDbTransaction& transaction, BackendManager sharedBackend)
at Duplicati.Library.Main.Operation.DeleteHandler.DoRun(LocalDeleteDatabase db, IDbTransaction& transaction, Boolean hasVerifiedBackend, Boolean forceCompact, BackendManager sharedManager)
at Duplicati.Library.Main.Operation.BackupHandler.CompactIfRequired(BackendManager backend, Int64 lastVolumeSize)
at Duplicati.Library.Main.Operation.BackupHandler.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.b__0(BackupResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
When running manually, the result is:
{
“DeletedFiles”: 16,
“DeletedFolders”: 0,
“ModifiedFiles”: 81,
“ExaminedFiles”: 182089,
“OpenedFiles”: 108,
“AddedFiles”: 27,
“SizeOfModifiedFiles”: 1973005291,
“SizeOfAddedFiles”: 7971668,
“SizeOfExaminedFiles”: 88468752400,
“SizeOfOpenedFiles”: 1981136933,
“NotProcessedFiles”: 0,
“AddedFolders”: 0,
“TooLargeFiles”: 0,
“FilesWithError”: 0,
“ModifiedFolders”: 0,
“ModifiedSymlinks”: 0,
“AddedSymlinks”: 0,
“DeletedSymlinks”: 0,
“PartialBackup”: false,
“Dryrun”: false,
“MainOperation”: “Backup”,
“CompactResults”: null,
“VacuumResults”: null,
“DeleteResults”: {
“DeletedSetsActualLength”: 0,
“DeletedSets”: ,
“Dryrun”: false,
“MainOperation”: “Delete”,
“CompactResults”: null,
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “2021-03-13T10:59:51.6334646Z”,
“BeginTime”: “2021-03-13T10:59:42.9434122Z”,
“Duration”: “00:00:08.6900524”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 8,
“BytesUploaded”: 49437335,
“BytesDownloaded”: 76818583,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 3641,
“KnownFileSize”: 93668922181,
“LastBackupDate”: “2021-03-13T11:57:02+01:00”,
“BackupListCount”: 18,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-03-13T10:57:02.1024173Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“RepairResults”: null,
“TestResults”: {
“MainOperation”: “Test”,
“VerificationsActualLength”: 3,
“Verifications”: [
{
“Key”: “duplicati-20210313T010000Z.dlist.zip.aes”,
“Value”:
},
{
“Key”: “duplicati-ida06e8e87c0340b0af8fb0787f78b8ef.dindex.zip.aes”,
“Value”:
},
{
“Key”: “duplicati-b5581930138374abbb649aec086995c39.dblock.zip.aes”,
“Value”:
}
],
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “2021-03-13T10:59:56.2074125Z”,
“BeginTime”: “2021-03-13T10:59:52.3064493Z”,
“Duration”: “00:00:03.9009632”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 8,
“BytesUploaded”: 49437335,
“BytesDownloaded”: 76818583,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 3641,
“KnownFileSize”: 93668922181,
“LastBackupDate”: “2021-03-13T11:57:02+01:00”,
“BackupListCount”: 18,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-03-13T10:57:02.1024173Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “2021-03-13T10:59:56.235414Z”,
“BeginTime”: “2021-03-13T10:57:02.1024173Z”,
“Duration”: “00:02:54.1329967”,
“MessagesActualLength”: 25,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: [
“2021-03-13 11:57:02 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started”,
“2021-03-13 11:57:30 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2021-03-13 11:57:30 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (3.55 KB)”,
“2021-03-13 11:57:30 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-beb770bbabac74a39a7ded8293b953848.dblock.zip.aes”,
“2021-03-13 11:57:30 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-iba2cf0f2e9034fda9094410e45857867.dindex.zip.aes”,
“2021-03-13 11:59:26 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bf1620861a42f444ca1009d8447bf18cd.dblock.zip.aes (23.38 MB)”,
“2021-03-13 11:59:29 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bf1620861a42f444ca1009d8447bf18cd.dblock.zip.aes (23.38 MB)”,
“2021-03-13 11:59:37 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-i27a30b696c2c4845bfa410caf5aecec4.dindex.zip.aes (539.79 KB)”,
“2021-03-13 11:59:37 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-i27a30b696c2c4845bfa410caf5aecec4.dindex.zip.aes (539.79 KB)”,
“2021-03-13 11:59:41 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-20210313T105702Z.dlist.zip.aes (23.24 MB)”,
“2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-20210313T105702Z.dlist.zip.aes (23.24 MB)”,
“2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-StartCheck]: Start checking if backups can be removed”,
“2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-FramesAndIntervals]: Time frames and intervals pairs: 7.00:00:00 / 1.00:00:00, 28.00:00:00 / 7.00:00:00, 365.00:00:00 / 31.00:00:00”,
“2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupList]: Backups to consider: 13/03/2021 02:00:00, 12/03/2021 01:00:00, 11/03/2021 01:00:00, 10/03/2021 01:00:00, 09/03/2021 01:00:00, 08/03/2021 01:00:00, 07/03/2021 01:00:00, 27/02/2021 01:00:01, 19/02/2021 03:51:08, 04/02/2021 01:00:00, 27/01/2021 11:56:53, 13/01/2021 08:23:34, 29/12/2020 01:00:00, 24/11/2020 01:00:00, 19/10/2020 02:00:00, 13/09/2020 02:00:00, 06/08/2020 16:24:42”,
"2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupsToDelete]: Backups outside of all time frames and thus getting deleted: ",
"2021-03-13 11:59:42 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-AllBackupsToDelete]: All backups to delete: ",
“2021-03-13 11:59:51 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteResults]: No remote filesets were deleted”,
“2021-03-13 11:59:51 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2021-03-13 11:59:52 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (3.56 KB)”,
“2021-03-13 11:59:52 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20210313T010000Z.dlist.zip.aes (23.23 MB)”
],
“Warnings”: ,
“Errors”: ,
“BackendStatistics”: {
“RemoteCalls”: 8,
“BytesUploaded”: 49437335,
“BytesDownloaded”: 76818583,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 3641,
“KnownFileSize”: 93668922181,
“LastBackupDate”: “2021-03-13T11:57:02+01:00”,
“BackupListCount”: 18,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.114 (2.0.5.114_canary_2021-03-10)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-03-13T10:57:02.1024173Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}