Getting this error
Re: Getting this error
Installed 2.1.0 and no errors anymore. Thank you
Re: Getting this error
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: Getting this error
I'm evaluating Cobian Reflector 2.4.00 as a potential replacement for the File History feature in Windows, that Microsoft has badly broken with Windows 11 22H2.
I'm getting "ERR 2023-07-16 21:29:05 An error occurred while copying [...]: The media is write protected" for each and every file in the OneDrive sync folder that is marked "online-only" (attributes = 0x00501620).
It's OK that the files don't get backed up, since I don't want the backup to pull everything from the OneDrive cloud, which would most likely cause a "disk full" error.
It's just weird that those skipped files are reported as errors, furthermore with that inappropriate error message.
I'm getting "ERR 2023-07-16 21:29:05 An error occurred while copying [...]: The media is write protected" for each and every file in the OneDrive sync folder that is marked "online-only" (attributes = 0x00501620).
It's OK that the files don't get backed up, since I don't want the backup to pull everything from the OneDrive cloud, which would most likely cause a "disk full" error.
It's just weird that those skipped files are reported as errors, furthermore with that inappropriate error message.
Re: Getting this error
This "error" is repported by the OS and forwarded by the program.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: Getting this error
How can you possibly get this error from a Windows system call?
Can you elaborate on how to access the file so that it prevents the Files on Demand mechanism from pulling the file from the cloud?
Can you elaborate on how to access the file so that it prevents the Files on Demand mechanism from pulling the file from the cloud?
Re: Getting this error
The CopyFileExW that I am using (an API Windows call) just will try to copy the files but because they don't physically exist then the OS resports that error.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: Getting this error
What value are you using for dwCopyFlags?
If that value is 0, copying an "online-only" file will not fail, but will pull the file from the cloud via the OneDrive sync client.
Obviously that's not what happens, so you're probably using some non-zero flag combination.
I have a C++ test program ready to check what happens in that case...
If that value is 0, copying an "online-only" file will not fail, but will pull the file from the cloud via the OneDrive sync client.
Obviously that's not what happens, so you're probably using some non-zero flag combination.
I have a C++ test program ready to check what happens in that case...
Re: Getting this error
Yes, I'm using another combination of flags, but I've been doing that sicnce the days before the cloud so I'll re-visit this part of the code.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: Getting this error
Great! So we can expect an update where a backup of the OneDrive sync folder will backup what's "available on this device" and silently skip what's "online only"!
That's a must for me switching from Windows' File History to Cobian Reflector!
If you need testers for a preview build, you can count me in!
Stéphane BARIZIEN
Charenton-le-Pont, France
www.linkedin.com/in/sbarizien
Twitter: @SBarizien
GitHub: sba923
That's a must for me switching from Windows' File History to Cobian Reflector!
If you need testers for a preview build, you can count me in!
Stéphane BARIZIEN
Charenton-le-Pont, France
www.linkedin.com/in/sbarizien
Twitter: @SBarizien
GitHub: sba923
Re: Getting this error
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator