How does OxiCloud store files on the server? #62
|
Curious to know if OxiFloud stores data in a flat file (a la Seafile, Pydio Cells, etc) or in directories (a la Nextcloud). Thanks. |
Replies: 2 comments
|
Sorry for the late reply, @uninvitedguest. Short answer: OxiCloud stores files in directories, similar to Nextcloud. Your folder structure and filenames are preserved as-is on disk. Each user gets a folder like On top of that, there is an optional deduplication layer. When you upload a file, OxiCloud:
The blob store runs in the background. It uses SHA-256 hashing with reference counting. If dedup fails for any reason, the upload still works -- it is non-blocking. A few details worth knowing:
So in practice, if you browse the storage volume directly, you will find real files in a readable directory tree. The blob store exists alongside it for dedup purposes. Hope that answers your question. Let me know if you want more detail on any part. |
|
Great, thank you very much. I see activity on the project has picked up a ton, and knowing the file structure meets my needs I will definitely give it a spin. |
Sorry for the late reply, @uninvitedguest.
Short answer: OxiCloud stores files in directories, similar to Nextcloud. Your folder structure and filenames are preserved as-is on disk.
Each user gets a folder like
storage/Mi Carpeta - username/, and everything inside mirrors the structure you see in the UI.On top of that, there is an optional deduplication layer. When you upload a file, OxiCloud:
.blobs/<sha256_prefix>/<hash>.blobThe blob store runs in the background. It uses SHA-256 hashing with reference counting. If dedup fails for any reason, the upload still works -- it is non-blocking.
A…