shimmie2 icon indicating copy to clipboard operation
shimmie2 copied to clipboard

How to make external storage for data?

Open BraVoRg opened this issue 1 year ago • 1 comments

Hello! I have hosting with 12gb of storage space. Do you know the way to make external storage for images?

BraVoRg avatar Mar 12 '25 20:03 BraVoRg

Currently there's no good way - there is an S3 extension which can sync files to any S3-compatible host (eg AWS, Cloudflare); but that won't delete files from local storage (it's mostly designed for dealing with bandwidth limits rather than storage limits) - it could be modified to delete local files after sending to S3, but there are quite a few places in the code where we assume that the image files will be available locally, so I would expect random things to break if we did that >.<

(Leaving this open as a feature request for seeing if we can make fewer things break if local files are missing)

The alternative is to handle the storage outside of shimmie - like if you're using a VPS where you have system-level access, you might be able to use FUSE to host the data/images/ folder on some kind of network filesystem)

shish avatar Mar 12 '25 22:03 shish

Duplicate of #1310

shish avatar Apr 09 '25 14:04 shish