What is your favorite protocol ? (WebDav, SFTP, SSH, SAMBA, NFS, ...)
-
My questions are about storage protocol
Abstract
I would like to use a NAS to store the data of a nextcloud instance.
I'm thinking of using webdav over smb or ssh (sftp) for reason of performanceI still have questions around how to access it
Since I would prefer to not have a mountpoint in the nextcloud, I taught to mount a shared drive with davfs2 via fstab than in cloudron moving the app data on it.
- Does someones have a similar setup ?
I would like your feedback and experience on this kind of situation
which protocol are your using
- WebDAV
- SAMBA (cifs)
- SFTP (ssh)
- FTPS
in which situation
- backup
- backend storage
- app data storage
- external storage (in nextcloud)
- ...
how you access (mount) it
- via fstab
- via cloudron storage app data
- via cloudron storage mount
- via nextcloud external storage
- ...
why
- originally you choose this setup
- you would choose a different setup if you had to do it again
-
Not an expert, but NFS would be best if available. I expect it to perform better than all the others since it's integrated at the filesystem level. Another advantage is that it can also be potentially shared with other apps. Was there a reason you mentioned NFS in the title but skipped it completely in your post?
-
@girish said in What is your favorite protocol ? (WebDav, SFTP, SSH, SAMBA, NFS, ...):
Was there a reason you mentioned NFS in the title but skipped it completely in your post?
ha! ha!;
because I didn't review my title
my host is Hetzner and my NAS is a storage box
I asked them for the NFS but it don't seam to be available. -
I feel the future is S3 compatible layers to whatever is behind it.
Not sure if Minio fits your needs but I feel its a safe bet for the future of preferred standards for file storage and Cloudron already has that as an option to explore
https://blog.min.io/high-performance-object-storage-with-kubernetes/
-
@fbartels said in What is your favorite protocol ? (WebDav, SFTP, SSH, SAMBA, NFS, ...):
in that case a smb mount is probably the next best thing to nfs.
You think ??
For simplicity and out of the box, of course Samba is the one but I don't mind to install davfs2