litestream icon indicating copy to clipboard operation
litestream copied to clipboard

Replicating over WebDAV

Open rushsteve1 opened this issue 3 years ago • 2 comments

WebDAV is an open file storage and transfer protocol built on top of HTTP. It is implemented by a wide range of software such as self-hosted file storage systems lie OwnCloud and NextCloud, as well as many HTTP servers like Apache.

The ability to sync SQLite databases with WebDAV providers would open up some new possibilities, especially in cases where users already have a WebDAV compatible file storage system.

Personally I think WebDAV support would be greatly beneficial to developers of smaller projects (such as myself) who would find syncing with their personal storage extremely useful.

rushsteve1 avatar Jun 06 '21 01:06 rushsteve1

Thanks for the suggestion, @rushsteve1. I’ve actually never used WebDAV so I’ll need to do some more research to understand the use case better. It looks like there’s a Go WebDAV library so it probably wouldn’t be difficult to add support.

benbjohnson avatar Jun 06 '21 22:06 benbjohnson

I have an ISP that is primarily email but also has file storage, and I thought I would use that because I had previously used their (s)ftp server to access files and litestream docs mention sftp is supported. Unfortunately, they dropped support for ftp in favour of webdav:

https://www.fastmail.help/hc/en-us/articles/1500000277882-Remote-file-access

but litestream doesn't support webdav, so I have to look into one of the other services, which look a lot more involved/complex.

davidmaxwaterman avatar Aug 31 '22 10:08 davidmaxwaterman