Backup software - access denied

Hi,

I am currently trying to make a backup of my mounted/unencrypted vault with restic. But unfortunately restic seems to not have full acces to the data, as it says “incomplete metadata” and “access denied” for every file it tries to backup. The backup of the content seems to work, its only about the metadata.

The file permissions of the files in the mounted drive seem to be fine. I am using WinFSP and alread tried WinFSP Local Drive, but that did not change anything. Is there anything I have to consider in the mount options when I want external software to have full access to the mounted drive?

Thanks for any help!

Not that I am aware of. Is there a chance that the vault is/was on Dropbox?
If yes then maybe related to this

Unfortunately not, it is OneDrive.

Hi,

Are you using the OneDrive application that is built into windows? It does not let you create a simple Drive letter that you can map to your OneDrive account.

There is another program that you can try called rclone to Mount Your OneDrive as a drive letter.

Then you can reconfigure the software to tell it that the vault is located in a subdirectory off of your newly mapped Cloud Drive and then check to see if this works better for you.

Rclone can be tricky to set up if you don’t have some help which I can provide. Tomorrow I will make my best effort to try and reproduce your situation and see if I get better results using the method im accustomed to using.

You might end up needing to Simply back up the encrypted version of the Vault rather than the unencrypted version.

Keep your password to the hold in a password manager so you have no chance to forget the password because without the password you can’t get to your data at all.

Hi,

Thanks for your detailed answer!

Yes I am using the default windows OneDrive app. I am actually using rclone on linux for OneDrive as they have no native client for linux. But I think the problem is not with OneDrive, and I don’t really understand what you mean with the drive letter, that does not matter in this case?

You suggested backing up the encrypted version, thats what I did before, by just backing up the whole OneDrive folder which worked perfectly fine. But the downside is that you do not have proper version control in your backups to see which files are included because of the encryption. Yes, you could mount a backup und decrypt it, but thats not that convenient. Thats why I wanted to switch to backing up the decrypted version.

So the problem here really lies in cryptomator or in restic. But I don’t know where to start debugging because normal folders and drives work fine, only the mounted Cryptomator vault causes problems.

This could be due to permissions. Either Cryptomator or Restic maybe running with elevated privileges and thus can not access each other.

Go to the Vault mount options and mount the Vault as a folder e.g. C:\Vault. That has worked for me in the past, it may work for you.

Could try that, but unfortunately restic does not follow symlinks. I will try to find another solution.

Hi,

Here is a potential solution for you. Instead of using the built-in Microsoft Onedrive client to access your vault files use this alternative instead.

There is a free open source program called Rclone. It can mount your Onedrive to a .drive letter in Windows. This is how I use it and it works for me.

You can use https://rcloneview.com Which is a Windows program that is still in beta but works just fine to help you easily mount your onedrive in windows without using the Microsoft software and if you link your cryptometer vault in windows to the location mounted as a separate drive letter you will probably get better results. I have this set up on all of my computers and use it regularly every day without any problems.

Maybe that would help and as already said I use rclone on linux but for windows I prefer the default OneDrive client due to features like on-demand download, file sharing etc.