Errors while backing up files from same folder

Hello.
I started using duplicati the last Sunday backing up my data towards Backblaze B2.

I installed it on my Synology Nas using docker, it’s running as my admin account (puid and admin pgid) but for whatever reason, there are some files that wouldn’t backup up. Moreover, there are some files from that same folder which were backed up without any problems.

Could anyone shed some light on this?

Here are the full logs.

            {
  "DeletedFiles": 1,
  "DeletedFolders": 0,
  "ModifiedFiles": 1,
  "ExaminedFiles": 56260,
  "OpenedFiles": 9,
  "AddedFiles": 8,
  "SizeOfModifiedFiles": 977330,
  "SizeOfAddedFiles": 26199245,
  "SizeOfExaminedFiles": 239685144741,
  "SizeOfOpenedFiles": 27176575,
  "NotProcessedFiles": 0,
  "AddedFolders": 0,
  "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,
    "VacuumResults": null,
    "MainOperation": "Compact",
    "ParsedResult": "Success",
    "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
    "EndTime": "2023-11-17T03:14:24.960595Z",
    "BeginTime": "2023-11-17T03:14:11.622451Z",
    "Duration": "00:00:13.3381440",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null,
    "BackendStatistics": {
      "RemoteCalls": 9,
      "BytesUploaded": 32211559,
      "BytesDownloaded": 57966071,
      "FilesUploaded": 3,
      "FilesDownloaded": 3,
      "FilesDeleted": 1,
      "FoldersCreated": 0,
      "RetryAttempts": 0,
      "UnknownFileSize": 0,
      "UnknownFileCount": 0,
      "KnownFileCount": 7554,
      "KnownFileSize": 197780353722,
      "LastBackupDate": "2023-11-17T04:00:09+01:00",
      "BackupListCount": 4,
      "TotalQuotaSpace": 0,
      "FreeQuotaSpace": 0,
      "AssignedQuotaSpace": -1,
      "ReportedQuotaError": false,
      "ReportedQuotaWarning": false,
      "MainOperation": "Backup",
      "ParsedResult": "Success",
      "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
      "EndTime": "0001-01-01T00:00:00",
      "BeginTime": "2023-11-17T03:00:01.164061Z",
      "Duration": "00:00:00",
      "MessagesActualLength": 0,
      "WarningsActualLength": 0,
      "ErrorsActualLength": 0,
      "Messages": null,
      "Warnings": null,
      "Errors": null
    }
  },
  "VacuumResults": null,
  "DeleteResults": {
    "DeletedSetsActualLength": 1,
    "DeletedSets": [
      {
        "Item1": 1,
        "Item2": "2023-11-16T04:00:11+01:00"
      }
    ],
    "Dryrun": false,
    "MainOperation": "Delete",
    "CompactResults": {
      "DeletedFileCount": 0,
      "DownloadedFileCount": 0,
      "UploadedFileCount": 0,
      "DeletedFileSize": 0,
      "DownloadedFileSize": 0,
      "UploadedFileSize": 0,
      "Dryrun": false,
      "VacuumResults": null,
      "MainOperation": "Compact",
      "ParsedResult": "Success",
      "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
      "EndTime": "2023-11-17T03:14:24.960595Z",
      "BeginTime": "2023-11-17T03:14:11.622451Z",
      "Duration": "00:00:13.3381440",
      "MessagesActualLength": 0,
      "WarningsActualLength": 0,
      "ErrorsActualLength": 0,
      "Messages": null,
      "Warnings": null,
      "Errors": null,
      "BackendStatistics": {
        "RemoteCalls": 9,
        "BytesUploaded": 32211559,
        "BytesDownloaded": 57966071,
        "FilesUploaded": 3,
        "FilesDownloaded": 3,
        "FilesDeleted": 1,
        "FoldersCreated": 0,
        "RetryAttempts": 0,
        "UnknownFileSize": 0,
        "UnknownFileCount": 0,
        "KnownFileCount": 7554,
        "KnownFileSize": 197780353722,
        "LastBackupDate": "2023-11-17T04:00:09+01:00",
        "BackupListCount": 4,
        "TotalQuotaSpace": 0,
        "FreeQuotaSpace": 0,
        "AssignedQuotaSpace": -1,
        "ReportedQuotaError": false,
        "ReportedQuotaWarning": false,
        "MainOperation": "Backup",
        "ParsedResult": "Success",
        "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
        "EndTime": "0001-01-01T00:00:00",
        "BeginTime": "2023-11-17T03:00:01.164061Z",
        "Duration": "00:00:00",
        "MessagesActualLength": 0,
        "WarningsActualLength": 0,
        "ErrorsActualLength": 0,
        "Messages": null,
        "Warnings": null,
        "Errors": null
      }
    },
    "ParsedResult": "Success",
    "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
    "EndTime": "2023-11-17T03:14:24.960602Z",
    "BeginTime": "2023-11-17T03:12:47.335414Z",
    "Duration": "00:01:37.6251880",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null,
    "BackendStatistics": {
      "RemoteCalls": 9,
      "BytesUploaded": 32211559,
      "BytesDownloaded": 57966071,
      "FilesUploaded": 3,
      "FilesDownloaded": 3,
      "FilesDeleted": 1,
      "FoldersCreated": 0,
      "RetryAttempts": 0,
      "UnknownFileSize": 0,
      "UnknownFileCount": 0,
      "KnownFileCount": 7554,
      "KnownFileSize": 197780353722,
      "LastBackupDate": "2023-11-17T04:00:09+01:00",
      "BackupListCount": 4,
      "TotalQuotaSpace": 0,
      "FreeQuotaSpace": 0,
      "AssignedQuotaSpace": -1,
      "ReportedQuotaError": false,
      "ReportedQuotaWarning": false,
      "MainOperation": "Backup",
      "ParsedResult": "Success",
      "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
      "EndTime": "0001-01-01T00:00:00",
      "BeginTime": "2023-11-17T03:00:01.164061Z",
      "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-20231117T030009Z.dlist.zip.aes",
        "Value": []
      },
      {
        "Key": "duplicati-i1261b0ecc6c74d9c8a9fdce4421568f2.dindex.zip.aes",
        "Value": []
      },
      {
        "Key": "duplicati-b60c52363057d48f5b41ad5b044b6333c.dblock.zip.aes",
        "Value": []
      }
    ],
    "ParsedResult": "Success",
    "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
    "EndTime": "2023-11-17T03:14:52.167867Z",
    "BeginTime": "2023-11-17T03:14:35.21132Z",
    "Duration": "00:00:16.9565470",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null,
    "BackendStatistics": {
      "RemoteCalls": 9,
      "BytesUploaded": 32211559,
      "BytesDownloaded": 57966071,
      "FilesUploaded": 3,
      "FilesDownloaded": 3,
      "FilesDeleted": 1,
      "FoldersCreated": 0,
      "RetryAttempts": 0,
      "UnknownFileSize": 0,
      "UnknownFileCount": 0,
      "KnownFileCount": 7554,
      "KnownFileSize": 197780353722,
      "LastBackupDate": "2023-11-17T04:00:09+01:00",
      "BackupListCount": 4,
      "TotalQuotaSpace": 0,
      "FreeQuotaSpace": 0,
      "AssignedQuotaSpace": -1,
      "ReportedQuotaError": false,
      "ReportedQuotaWarning": false,
      "MainOperation": "Backup",
      "ParsedResult": "Success",
      "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
      "EndTime": "0001-01-01T00:00:00",
      "BeginTime": "2023-11-17T03:00:01.164061Z",
      "Duration": "00:00:00",
      "MessagesActualLength": 0,
      "WarningsActualLength": 0,
      "ErrorsActualLength": 0,
      "Messages": null,
      "Warnings": null,
      "Errors": null
    }
  },
  "ParsedResult": "Warning",
  "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
  "EndTime": "2023-11-17T03:14:53.311728Z",
  "BeginTime": "2023-11-17T03:00:01.164003Z",
  "Duration": "00:14:52.1477250",
  "MessagesActualLength": 27,
  "WarningsActualLength": 2542,
  "ErrorsActualLength": 0,
  "Messages": [
    "2023-11-17 04:00:09 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The backup opereation has started",
    "2023-11-17 04:05:31 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()",
    "2023-11-17 04:05:39 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (7,38 KB)",
    "2023-11-17 04:11:23 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b2082bcc69224491b95705681b6eaf0f9.dblock.zip.aes (25,35 MB)",
    "2023-11-17 04:12:27 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-b2082bcc69224491b95705681b6eaf0f9.dblock.zip.aes (25,35 MB)",
    "2023-11-17 04:12:35 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ie4d1a655a06c4d8581e7107e22ab6a2e.dindex.zip.aes (66,06 KB)",
    "2023-11-17 04:12:36 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-ie4d1a655a06c4d8581e7107e22ab6a2e.dindex.zip.aes (66,06 KB)",
    "2023-11-17 04:12:38 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-20231117T030009Z.dlist.zip.aes (5,31 MB)",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-20231117T030009Z.dlist.zip.aes (5,31 MB)",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-StartCheck]: Start checking if backups can be removed",
    "2023-11-17 04:12:47 +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",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupList]: Backups to consider: 11/16/2023 4:00:11 AM, 11/15/2023 4:00:32 AM, 11/13/2023 7:24:44 AM, 11/12/2023 8:20:19 PM",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupsToDelete]: Backups outside of all time frames and thus getting deleted: ",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-AllBackupsToDelete]: All backups to delete: 11/16/2023 4:00:11 AM",
    "2023-11-17 04:12:47 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) ...",
    "2023-11-17 04:14:10 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20231116T030011Z.dlist.zip.aes (5,31 MB)",
    "2023-11-17 04:14:11 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-20231116T030011Z.dlist.zip.aes (5,31 MB)",
    "2023-11-17 04:14:11 +01 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteResults]: Deleted 1 remote fileset(s)",
    "2023-11-17 04:14:24 +01 - [Information-Duplicati.Library.Main.Database.LocalDeleteDatabase-CompactReason]: Compacting not required",
    "2023-11-17 04:14:25 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()"
  ],
  "Warnings": [
    "2023-11-17 04:07:03 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/PhotoLibrary/2023/05/wrGd6jU.mp4",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/08/PXL_20230801_144130318.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/08/PXL_20230801_144136062.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/08/PXL_20230801_151226650.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-05-07-41-22-108.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-06-18-38-43-978.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-06-18-38-53-809.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-08-11-49-28-196.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-09-11-25-57-756.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-10-09-30-21-815.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-10-09-32-32-897.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-13-07-27-22-584.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-14-18-01-05-507.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-14-18-01-51-315.jpg",
    "2023-11-17 04:07:09 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-16-13-03-35-828.jpg",
    "2023-11-17 04:07:10 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-20-17-56-29-848.jpg",
    "2023-11-17 04:07:10 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-22-10-03-39-789.jpg",
    "2023-11-17 04:07:10 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-23-21-12-08-079.jpg",
    "2023-11-17 04:07:10 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/2023-07-23-21-12-22-926.jpg",
    "2023-11-17 04:07:10 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: /homes/User/Photos/MobileBackup/Device/DCIM/Camera/2023/07/PXL_20230723_211400442.jpg"
  ],
  "Errors": [],
  "BackendStatistics": {
    "RemoteCalls": 9,
    "BytesUploaded": 32211559,
    "BytesDownloaded": 57966071,
    "FilesUploaded": 3,
    "FilesDownloaded": 3,
    "FilesDeleted": 1,
    "FoldersCreated": 0,
    "RetryAttempts": 0,
    "UnknownFileSize": 0,
    "UnknownFileCount": 0,
    "KnownFileCount": 7554,
    "KnownFileSize": 197780353722,
    "LastBackupDate": "2023-11-17T04:00:09+01:00",
    "BackupListCount": 4,
    "TotalQuotaSpace": 0,
    "FreeQuotaSpace": 0,
    "AssignedQuotaSpace": -1,
    "ReportedQuotaError": false,
    "ReportedQuotaWarning": false,
    "MainOperation": "Backup",
    "ParsedResult": "Success",
    "Version": "2.0.7.1 (2.0.7.1_beta_2023-05-25)",
    "EndTime": "0001-01-01T00:00:00",
    "BeginTime": "2023-11-17T03:00:01.164061Z",
    "Duration": "00:00:00",
    "MessagesActualLength": 0,
    "WarningsActualLength": 0,
    "ErrorsActualLength": 0,
    "Messages": null,
    "Warnings": null,
    "Errors": null
  }
}
        

The stored log is unfortunately hiding the actual error messages. This will be fixed in the next release, but for now you need to go to the server log on the about page. I think the same warnings should also be there. If not, please run the backup again and keep the live log (also on that page) open on Information level in a second tab.

Without the error messages I can’t tell you what the reason is.

To get less uninformative message, it’s even possible to run the live log at warning level and when a warning happens, click on it to display the full (exception) message.

I’m so sorry for the very late response but I didn’t have enough time these past weeks.

So according to the live warning logs, the problem would be permissions. It’s kinda strange because it seems permissions for the photos folder changed at some point after 28/04/2023 as shown below.

This is not a duplicati related problem anymore but I wanted to tell you what was going on.

{"ClassName":"System.UnauthorizedAccessException","Message":"Access to the path \"/homes/User/Photos/MobileBackup/Mi 9T/DCIM/Camera/2023/05/2023-05-20-16-12-57-883.jpg\" is denied.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <d636f104d58046fd9b195699bcb1a744>:0 \n  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0 \n  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)\n  at System.IO.File.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0 \n  at Duplicati.Library.Snapshots.SnapshotBase.OpenRead (System.String localPath) [0x00000] in <d923eb2701b54f36b8b06ceada8a0ad8>:0 \n  at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor+<>c__DisplayClass1_0.<Run>b__0 (<>f__AnonymousType8`2[<Input>j__TPar,<StreamBlockChannel>j__TPar] self) [0x00217] in <9cab5b8f1b4f49ec980acae8e278968b>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024891,"Source":"mscorlib"}

looks like a phone memory mounted via USB. These mounts tend to get broken because the phone is connected/disconnected, also I remember cases when the access mode changed more or less erratically. Maybe disconnecting the phone and connecting it again, doing then the pairing appropriately, would restore the mount.

It’s Synology photos application actually. It backups photos from the mobile phone to the nas.

Is running duplicati as root a good idea? Because that would be one possible solution.

Sorry I forgot about this Nas thing.
I guess that the files that don’t backup are the ones that are u+rwx, while the rwxrwxrwx backup correctly ? If that’s the case, the problem comes from this phone application it seems. If it creates the files with your personal ID as owner, maybe it could be done to run Duplicati as this ID instead of admin?
I admit that I don’t know Synology Duplicati configuration (I have never even seen a Synology NAS), so this may not be practical in fact.

No worries.

You’re correct. Another problem here is that I have multiple users so the problem would still be appearing for other users if I only changed the id to one of those users’ id.

Speaking strictly in the Linux context - Synology must surely be based on some sort of Linux but these devices are often bringing some special customizations that one needs to know - a possibility for working around the rights limitation is to use ACLs. I am referring to it because there is some ACL used with your shared files (the ones with a ‘+’ at the end of the attributes).
The other way is to use root. Unfortunately I have no experience with Synology so I can’t even say if it is possible.

I don’t know why this was happening because the permissions were set correctly. I manually reapplied the permissions for the subfolders and files and the backup finished properly without any warning.