ts678
September 10, 2026, 2:44pm
3
Guessing from Google search. Might be that fix for this didn’t fully fix it:
I went ahead and tested the current beta release Release v2.2.1.0_beta_2026-03-05 · duplicati/duplicati · GitHub which added support for multiple backup destinations.
In the past I solved the lack of this feature on my own using rclone after the backup, which worked very well. However, I like it better if the whole functionality is handled in one tool. So I added a second destination to my already existing backup jobs:
Job 1: first remote: Box.com , second remote: pcloud
Job 2: first remote: o…
master ← carljohnsen:bugfix/remote-synchronization-module-fixes
opened 03:15PM - 18 Mar 26 UTC
This PR addresses [this forum post](https://forum.duplicati.com/t/issues-with-mu… ltiple-backup-destinations-feature/22090/1) and #6806 . Specifically:
- Remote synchronization has been added as a phase, which is shown in the UI progress.
- Logging has been fixed so that logging (or printing) a remote synchronization config doesn't emit any secrets, such as auth id.
- The "Cannot access a closed file" has been handled by moving the hash computation to before the put operation as this could (for some backends) close the file.
- Errors and warnings produced during the remote synchronization phase has been added to the results, so the log and results are aligned again.
The “Cannot access a closed file” has been handled by moving the hash computation to before the put operation as this could (for some backends) close the file.
opened 07:29PM - 15 Mar 26 UTC
closed 06:56AM - 30 Apr 26 UTC
- [x] I have searched open and closed issues for duplicates.
- [x] I have se… arched the [forum](https://forum.duplicati.com) for related topics.
---
## Environment info
- **Duplicati version**: 2.2.1.0 - 2.2.1.0_beta_2026-03-05
- **Operating system**: Docker Container on Debian
- **Backend**: box.com with sync to pcloud
## Description
I tried the new "multiple destinations" feature, where the primary destination is box.com/onedrive and the secondary is pcloud. In the live logs I get an `Error copying duplicati-b6dcff9e26e7a4ee2be0d848829d54deb.dblock.zip.aes: Cannot access a closed file.` for each file. Before the beta I did the sync "manually" using an rsync cronjob from box.com to pcloud which worked flawlessly. (related to #234). I also noticed that according to the pcloud UI it's stuck at exactly 1750 files uploaded since several hours, despite new files are added. Previously (before duplicati introduced the multi-destination feature I did the same using rclone, which worked flawlessly. For the same backup that was done by rclone, the pcloud UI lists 1807 files. Also the duplicati UI says "Backup complete!", which is weird, because according to the logs it still tries to upload all these files to pcloud.
## Steps to reproduce
1. Create a new backup with box.com as the first and pcloud (eu servers) as the second location
2. Start the backup
3. View live logs.
- **Actual result**:
`Error copying duplicati-b6dcff9e26e7a4ee2be0d848829d54deb.dblock.zip.aes: Cannot access a closed file.` for every file being processed
- **Expected result**:
No errors.
## Screenshots
<img width="2214" height="1120" alt="Image" src="https://github.com/user-attachments/assets/a9b1d085-5668-4f93-a99f-2916ba4d0de9" />
Error in duplicati
<img width="2238" height="816" alt="Image" src="https://github.com/user-attachments/assets/f6f551ce-9699-45b2-a0bf-939a0a89e6c7" />
but file uploaded to pcloud still
<img width="2293" height="311" alt="Image" src="https://github.com/user-attachments/assets/f4d28a99-f48e-45e9-9999-2202df48ebaf" />
## Debug log
```
Copying duplicati-b6d72cb6e066a49d79a942a1a40dc72b4.dblock.zip.aes from Box.com to pCloud (Native API)
System.ObjectDisposedException: Cannot access a closed file.
at RemoteSynchronization.RemoteSynchronizationRunner.CopyAsync(LightWeightBackendManager b_src, LightWeightBackendManager b_dst, IEnumerable`1 files, Config config, CancellationToken token)
Error copying duplicati-b6dcff9e26e7a4ee2be0d848829d54deb.dblock.zip.aes: Cannot access a closed file.
...
```
Before assuming problem still exists, @stenp should verify message.