Can't open "\??\C:\Users\user\AppData\Roaming\Mozilla\Firefox\Profiles\vkwnivsk.default\storage\permanent\chrome\idb\26516546a5sdkjlkasm4o0tc.h.sqlite-shm" for reading (status=c0000034): Object Name not found
[WARNING] Truncating "W:\Backup 44.wim" to its original size (382657270 bytes)
ERROR: Exiting with error code 47:
Failed to open a file.
and it just aborts the backup, which seems dumb to me. Maybe abort if it thinks it's going to corrupt the backup, but why would you abort just because it can no longer find a file?
Anyways yes I know I could use the --snapshot, but I rather avoid that and requiring admin rights.
wimcapture isn't really great to run against trees that are in use and being modified. On Windows, you can add --snapshot so that the OS exposes a point-in-time view of the tree that shouldn't change when software modifies anything.
I mentioned not wanting to use --snapshot because it requires admin rights.
I just feel it's a bit weird it fails because the file is missing, not locked, but missing and then it completely aborts the backup. Any other backup application I have used would just continue on error and report it at the end.
Apologizes for the necro bump. When attempting to archive a user's folder with snapshots enabled there are files that get locked due to both OneDrive, and a filesystem write filter not being available. The result is most of the user's files being read-only and access denied. I need to be able to ignore all of these errors so I can recover the user's data that isn't locked.
Currently I use a script that generates an exclusion list by: Gathering a file list, excluding symlinks, and various space hogs that aren't important for the user like OneDrive, DriveFS, etc. The problem is that this is very slow, and further more to then check each file for read access, which will most likely fail then a process has locked the file. I'd rather not have to implement VSS in my script to avoid these errors.
Sounds like the problem with OneDrives cloud files.
Wimlib tries to read a placeholder file and the cloud provider failes as the shapshot of
the volume is readonly.
Personally I exclude all files with FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS attribute for capture operation.
If one detaches the CldFlt filter from the volume, than wimgapi can capture a OneDrive folder.
But wimlib would ignore the content of the folder and just capture the root folder (unknown reparse point).