Skip to content

WebDAV Server for Centralized Backup and Sync Across Laptops #3851

Answered by IliaOzhmegov
IliaOzhmegov asked this question in Q&A
Discussion options

You must be logged in to vote

My solution for my raspberry pi (with access from within local network)

File structure:

.
├── data
│   └── ilia
│       └── super-productivity
│           ├── ARCHIVE.json
│           └── MAIN.json
├── docker-compose.yaml
└── webdav.yaml

Note: files ARCHIVE.json and MAIN.json were created in the result of synchronization. Folders data/ilia/super-productivity were created manually.

webdav.yaml:

address: 0.0.0.0
port: 80

prefix: /
permissions: CRUD

users:
  - username: ilia
    password: iliapassword
    directory: /data/ilia

docker-compose.yaml:

services:
  webdav:
    image: hacdias/webdav:latest
    ports:
      - "8080:80"
    volumes:
      - ./webdav.yaml:/config.yml:ro
      - .…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@IliaOzhmegov
Comment options

Comment options

You must be logged in to vote
1 reply
@kavinay
Comment options

Answer selected by IliaOzhmegov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants