Errors when running backups


#1

Hi i have been getting the following errors lately what do they mean and how do i fix it?

DeletedFiles: 8
DeletedFolders: 0
ModifiedFiles: 35
ExaminedFiles: 67936
OpenedFiles: 43
AddedFiles: 8
SizeOfModifiedFiles: 639117435
SizeOfAddedFiles: 7702642
SizeOfExaminedFiles: 3675141667
SizeOfOpenedFiles: 646820077
NotProcessedFiles: 0
AddedFolders: 0
TooLargeFiles: 0
FilesWithError: 0
ModifiedFolders: 0
ModifiedSymlinks: 0
AddedSymlinks: 0
DeletedSymlinks: 0
PartialBackup: False
Dryrun: False
MainOperation: Backup
ParsedResult: Error
Version: 2.0.4.5 (2.0.4.5_beta_2018-11-28)
EndTime: 01/16/2019 02:16:24 (1547601384)
BeginTime: 01/16/2019 02:10:00 (1547601000)
Duration: 00:06:24.7496040
Log data:
2019-01-16 02:15:01 +01 - [Error-Duplicati.Library.Main.Database.LocalBackupDatabase-CheckingErrorsForIssue1400]: Checking errors, related to #1400. Unexpected result count: 0, expected 1, hash: MFgllPNBONJeAop+cr7AJ08pBxhO/j5YGuDewrwBLVM=, size: 67448, blocksetid: 280355, ix: 107, fullhash: DSyrvEAQl0fuFTxkIDGcdv944d9DNdKVxJZqfxT1WfI=, fullsize: 11024248
2019-01-16 02:15:01 +01 - [Error-Duplicati.Library.Main.Database.LocalBackupDatabase-FoundIssue1400Error]: Found block with ID 1146495 and hash MFgllPNBONJeAop+cr7AJ08pBxhO/j5YGuDewrwBLVM= and size 58160
2019-01-16 02:15:01 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /mnt/ubuntu-server/duplicati/Duplicati/ORJVVEEXGF.sqlite-journal
System.Exception: Unexpected result count: 0, expected 1, check log for more messages
  at Duplicati.Library.Main.Database.LocalBackupDatabase.AddBlockset (System.String filehash, System.Int64 size, System.Int32 blocksize, System.Collections.Generic.IEnumerable`1[T] hashes, System.Collections.Generic.IEnumerable`1[T] blocklistHashes, System.Int64& blocksetid, System.Data.IDbTransaction transaction) [0x002fb] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Backup.BackupDatabase+<>c__DisplayClass13_0.<AddBlocksetAsync>b__0 () [0x00000] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Common.SingleRunner+<>c__DisplayClass4_0`1[T].<RunOnMain>b__0 () [0x00000] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Common.SingleRunner.DoRunOnMain[T] (System.Func`1[TResult] method) [0x000b0] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Backup.StreamBlockSplitter+<>c__DisplayClass2_0.<Run>b__0 (<>f__AnonymousType13`3[<Input>j__TPar,<ProgressChannel>j__TPar,<BlockOutput>j__TPar] self) [0x00a24] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Backup.StreamBlock.ProcessStream (CoCoL.IWriteChannel`1[T] channel, System.String path, System.IO.Stream stream, System.Boolean isMetadata, Duplicati.Library.Interface.CompressionHint hint) [0x0012c] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 
  at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor+<>c__DisplayClass1_0.<Run>b__0 (<>f__AnonymousType8`2[<Input>j__TPar,<StreamBlockChannel>j__TPar] self) [0x002b3] in <c6c6871f516b48f59d88f9d731c3ea4d>:0

I’m running 2.0.4.5_beta_2018-11-28 inside docker on a ubuntu server.


#2

Some people have reported --snapshot-policy=on resolves the issue for them - what is your snapshot setting?


#3

Now I’m getting the following error instead:

Failed to create a snapshot: System.Exception: The external command failed to start.
Error message: System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/opt/duplicati/lvm-scripts/find-volume.sh', CommandLine='"/mnt/ubuntu-server/"', CurrentDirectory='', Native error= Access denied
  at System.Diagnostics.Process.StartWithCreateProcess 

#4

Sounds like you are running as a regular user that doesn’t have permissions to make snapshots.

While you could shift to running as a daemon/service, it might be easier to explicitly exclude the mnt/ubuntu-server/duplicati/Duplicati/ORJVVEEXGF.sqlite-journal file as it doesn’t need to be backed up anyway.