I date all my photos (ex. “20220422_Photo-Name”) periodically and add them to my vault where they are automatically linked to their corresponding daily note with a query:
Initially this was working perfectly but with all the photos and videos accumulating over time the size of my vault is exponentially increasing. That makes it difficult and expensive to continue to regularly back up my vault to the cloud.
So now I’m looking for an alternative way to link these photos without having to add them to the vault.
Things I have tried
My idea is that I have a “Media” folder outside of my vault and then just query that folder instead of the vault. I tried stuff like:
WHERE contains(file.name, "20220422")
Right now it’s a little complicated. I have all my media in the cloud AND in Obsidian (for that daily note functionality) so basically it’s using double the space.
In addition to that I back up the vault to the cloud every month, so after a year I’ll basically use 12x the amount of storage needed.
What do you want to do with the files if you get to query them from inside the vaults? Or put another way, do you ever intend to embed them somehow?
It could however in such a case be a little troublesome to embed the image, and you might need to do some trickery to get that going. Just listing files with various searches related to the file name, shouldn’t be too hard to do (if you know a little coding).
Like @CawlinTeffid mention briefly, there are different backup strategies. One of them is to do incremental backups. In a scheme such as yours that could mean that you do a full backup of everything once each year, and then throughout the year you just backup extra versions of files changed related to the full backup. This drastically improves the demand on storage for your backup.
Depending on how much you trust your backup media, the same scheme could also be extended to only do full backups not even every year, but maybe every 5th year or something like that. It’s always a cost vs risk assesment to be made with regards to backups, but having more than 2-3 copies (in different physical locations) of anything seems a little excessive for most needs, but YMMV.