Is it possible to recover deleted items?

I have accidentally deleted a whole folder. Is it possible to recover the folder through the Cryptomator app or Google Drive?

1 Like

Cryptomator does not offer a recycle bin.
There may be a workaround (at your own risk. Do your Backups!)

If you know when you have deleted the files, you can search in the recycle bin of your google drive for encrypted files and folders matching this timestamp and restore the encrypted data and hope that all necessary files are restored to get your decrypted files in the vault back.

Please keep in mind that this is not a 100% safe workaround. You may cause inconsistency in you vault and should check it afterwords with the sanitizer tool.
Please read this as well: decrypt the encrypted file name

And I have to admit that I’m not sure if goggle drive offers the recycle bin for files that are deleted via a connected app. Maybe they offer this function only for files deleted via the browser interface or their desktop app (I actually do not use google drive)

You should be able to restore the folder at https://drive.google.com/drive/trash

I just deleted a folder and this is what’s in my trash now:

Make sure to restore both the so-called directory file (begins with a 0 in its filename and usually has 36 bytes) and the encrypted directory itself. If you let Google Drive restore these (select them, right-click, and “Restore”), they will automatically be put back into the originating path so that Cryptomator will be able to detect them properly.

Obviously, it’s of the utmost importance to frequently create backups and pick up a sound strategy for that. However, sometimes files aren’t backed up yet, because they’re new. If one of those files gets deleted by accident, it would be lost forever if there is no trash bin integration. I think that an encryption tool that advertises its cloud compatibility should not interfere or mess with common features of cloud solutions, such as restoring deleted files and folders or making files available offline.

Since you’re using OneDrive, restoring deleted files and offline are supported. The challenge when using Cryptomator is the file and folder obfuscation, which makes mapping file names tedious to the point of giving up. I regularly make the ‘d’ folder in the CM vault folder offline, and then let CM pull down what it needs when it needs it.

IMO, it would be better if I could select files in the CM virtual drive (after revealing it) and set the offline / online status there, but alas…

1 Like

Another annoyance with OneDrive and CM is that the former flags Cryptomator files as signs of ransomware, which they obviously are not. You can safely ignore the warnings, but it’s still annoying (and frightening the first time).

I wholeheartedly agree. I don’t understand why this wasn’t implemented. If an encryption software claims to be cloud-compatible and presents itself as a Boxcryptor alternative, then the offline files feature must be implemented properly for the virtual drive, just like a trash bin integration.

I saw the OneDrive ransomware warning, but I knew this was due to the new encryption of the files. This probably happens with some other kinds of encryption as well.