Hello everyone,
I have created a backup job for my 3TB media library. Data is backed up to an external hard drive connected directly to my NAS. During execution the job fails after one minute with these errors in the logs.
“2025-02-25 11:03:26 +01 - [Error Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error IOException: Permission denied”
“2025-02-25 11:03:26 +01 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Backup has failed with error: One or more errors occurred. (Permission denied (Permission denied) (One or more errors occurred. (Permission denied)))
AggregateException: One or more errors occurred. (Permission denied (Permission denied) (One or more errors occurred. (Permission denied)))”
Here are the full logs:
{
"DeletedFiles": 0,
"DeletedFolders": 0,
"ModifiedFiles": 0,
"ExaminedFiles": 2,
"OpenedFiles": 0,
"AddedFiles": 0,
"SizeOfModifiedFiles": 0,
"SizeOfAddedFiles": 0,
"SizeOfExaminedFiles": 1429440013,
"SizeOfOpenedFiles": 0,
"NotProcessedFiles": 0,
"AddedFolders": 2,
"TooLargeFiles": 0,
"FilesWithError": 0,
"ModifiedFolders": 0,
"ModifiedSymlinks": 0,
"AddedSymlinks": 0,
"DeletedSymlinks": 0,
"PartialBackup": false,
"Dryrun": false,
"MainOperation": "Backup",
"CompactResults": null,
"VacuumResults": null,
"DeleteResults": null,
"RepairResults": null,
"TestResults": null,
"ParsedResult": "Fatal",
"Interrupted": false,
"Version": "2.1.0.4 (2.1.0.4_stable_2025-01-31)",
"EndTime": "2025-02-25T10:03:26.9954316Z",
"BeginTime": "2025-02-25T10:02:26.4467173Z",
"Duration": "00:01:00.5487143",
"MessagesActualLength": 96,
"WarningsActualLength": 0,
"ErrorsActualLength": 2,
"Messages": [
"2025-02-25 11:02:26 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started",
"2025-02-25 11:02:32 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()",
"2025-02-25 11:02:32 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: ()",
"2025-02-25 11:02:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-baae1bda4da1d46919c99c7289c05fae4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-baae1bda4da1d46919c99c7289c05fae4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b02a4c21bc60f46739499ec9d184e0cf4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-b02a4c21bc60f46739499ec9d184e0cf4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:36 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-beb6b384582a743a79eba0ff534fe22df.dblock.zip.aes (49.008 MB)",
"2025-02-25 11:02:36 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-beb6b384582a743a79eba0ff534fe22df.dblock.zip.aes (49.008 MB)",
"2025-02-25 11:02:36 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bbd62e62b54c946ddb37c0b0f7dd6d6d8.dblock.zip.aes (49.008 MB)",
"2025-02-25 11:02:36 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-bbd62e62b54c946ddb37c0b0f7dd6d6d8.dblock.zip.aes (49.008 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Rename: duplicati-baae1bda4da1d46919c99c7289c05fae4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Rename: duplicati-b2cc9a3e0498c49aa9f5bf5597cce1cab.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.Operation.Backup.BackendUploader-RenameRemoteTargetFile]: Renaming \"duplicati-baae1bda4da1d46919c99c7289c05fae4.dblock.zip.aes\" to \"duplicati-b2cc9a3e0498c49aa9f5bf5597cce1cab.dblock.zip.aes\"",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Rename: duplicati-b02a4c21bc60f46739499ec9d184e0cf4.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Rename: duplicati-bcbb1a79548ec49938834360e50bc5646.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.Operation.Backup.BackendUploader-RenameRemoteTargetFile]: Renaming \"duplicati-b02a4c21bc60f46739499ec9d184e0cf4.dblock.zip.aes\" to \"duplicati-bcbb1a79548ec49938834360e50bc5646.dblock.zip.aes\"",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b2cc9a3e0498c49aa9f5bf5597cce1cab.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bcbb1a79548ec49938834360e50bc5646.dblock.zip.aes (49.009 MB)",
"2025-02-25 11:02:45 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-b2cc9a3e0498c49aa9f5bf5597cce1cab.dblock.zip.aes (49.009 MB)"
],
"Warnings": [],
"Errors": [
"2025-02-25 11:03:26 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error\nIOException: Permission denied",
"2025-02-25 11:03:26 +01 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Backup has failed with error: One or more errors occurred. (Permission denied (Permission denied) (One or more errors occurred. (Permission denied)))\nAggregateException: One or more errors occurred. (Permission denied (Permission denied) (One or more errors occurred. (Permission denied)))"
],
"BackendStatistics": {
"RemoteCalls": 22,
"BytesUploaded": 0,
"BytesDownloaded": 0,
"FilesUploaded": 0,
"FilesDownloaded": 0,
"FilesDeleted": 0,
"FoldersCreated": 0,
"RetryAttempts": 20,
"UnknownFileSize": 0,
"UnknownFileCount": 0,
"KnownFileCount": 0,
"KnownFileSize": 0,
"LastBackupDate": "0001-01-01T00:00:00",
"BackupListCount": 0,
"TotalQuotaSpace": 4000768327680,
"FreeQuotaSpace": 3731735183360,
"AssignedQuotaSpace": -1,
"ReportedQuotaError": false,
"ReportedQuotaWarning": false,
"MainOperation": "Backup",
"ParsedResult": "Success",
"Interrupted": false,
"Version": "2.1.0.4 (2.1.0.4_stable_2025-01-31)",
"EndTime": "0001-01-01T00:00:00",
"BeginTime": "2025-02-25T10:02:26.4467198Z",
"Duration": "00:00:00",
"MessagesActualLength": 0,
"WarningsActualLength": 0,
"ErrorsActualLength": 0,
"Messages": null,
"Warnings": null,
"Errors": null
}
}
I’ve tried enlarging the block size to 1GB, and the transfer starts fine, ruling out an access problem.
I stopped my Plex container to avoid any parallel process just in case, without success.
I need your help please