If Nextcloud works like OneDrive, then it could be caused by the problem described here:
https://eazybackup.com/knowledge-base/error-media-is-write-protected-backing-up-onedrive-with-vss/ >>>>> On Sat, 11 Feb 2023 10:52:29 -0500, Steven A Falco said: > > I have been using Bacula to back up a Windows 10 virtual machine client in > addition to a number of physical Linux clients without any problems for > several years. > > Recently I upgraded the win10 vm to Windows 11, and I am now getting an error > message from the VSS snapshot system. I don't know if this is a permission > problem. I also don't know how serious it is - is just one file affected, or > is all of C:\ affected? > > The error message is a bit confusing, because it says there is a read error > on the file and the media is write protected. > > I've tried deleting shadows using vssadmin but that didn't help. The file > that is triggering the error is on a Nextcloud shared directory, but that was > working fine with win10. > > I'm not sure how to troubleshoot this. Any guidance would be appreciated. > > Steve > > 11-Feb 09:59 saf-sd JobId 22162: Ready to append to end of Volume > "v1_0007_0017" size=40,122,007,412 > 11-Feb 09:59 win11-fd JobId 22162: Generate VSS snapshots. Driver="Win64 VSS" > 11-Feb 09:59 win11-fd JobId 22162: Snapshot mount point: C:\ > 11-Feb 10:01 win11-fd JobId 22162: Error: Read error on file > //?/GLOBALROOT/Device/HarddiskVolumeShadowCopy9/Users/sfalco/Nextcloud/SMS/sms-20230211004914.xml. > ERR=The media is write protected. > > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "Task > Scheduler Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "VSS Metadata > Store Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "Performance > Counters Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "System > Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "WMI Writer", > State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "MSSearch > Service Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "ASR Writer", > State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "Shadow Copy > Optimization Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "COM+ REGDB > Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 win11-fd JobId 22162: VSS Writer (BackupComplete): "Registry > Writer", State: 0x1 (VSS_WS_STABLE) > 11-Feb 10:03 saf-sd JobId 22162: Elapsed time=00:04:05, Transfer rate=37.48 M > Bytes/second > 11-Feb 10:03 saf-sd JobId 22162: Sending spooled attrs to the Director. > Despooling 267,081 bytes ... > 11-Feb 10:03 saf-dir JobId 22162: Bacula saf-dir 13.0.1 (05Aug22): > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users