It sounds so horrible, I can't get my mind off it! :P
It sounds so horrible, I can't get my mind off it! :P
The idea is to tag files/documents with attributes like "auto", "insurance", "2022", encrypt the file locally (using your manually entered key), copy it to a network share/cloud storage/etc., and add the tags and document information to a database.
Later on, you can search for documents based on the tags and get a decrypted copy of the file.
A DB to contain all the metadata, and blobs or object storage for the content itself (perhaps with backup metadata). The database manages the namespace, object storage manages the storage layer.
You can easily and quickly search file metadata etc, there could be multiple copies of the content, perhaps distributed, etc, etc.
remote storage with local indexes, where the remote storage only holds encrypted data (can be postgres or s3 or whatever), and the only way to make sense of the data is if you have access to the local encryption keys and indexes.
The local indexes would function like your notion of tags, and also be somewhat encrypted (hashed probably) so you can find your data locally but only pull it from the remote when needed.