blob: ead86ddf46bf56f52ccb2441dc9ea48c2fbf78d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
---
name: webdav-sync
description: Sync, backup, and restore VFS via WebDAV in WebX11. CRITICAL: Only use verified commands.
category: system
tags: [webdav, sync, backup, cloud, vfs]
---
# WebDAV Sync Workflow
## ⚠️ CRITICAL RULE: VERIFY BEFORE EXECUTING
**ALWAYS run `help <command>` first.**
**If `help <command>` returns nothing, the command does NOT exist.**
**Never invent commands — terminal crashes.**
## 1. Install & Configure
- `webdav-config` — configure WebDAV connection
- `webdav-status` — verify connection
## 2. Verified Commands ONLY
| Command | Verify With | Purpose |
|---------|-------------|---------|
| `webdav-ls` | `help webdav-ls` | List files on server |
| `webdav-backup` | `help webdav-backup` | Backup VFS to WebDAV |
| `webdav-backup-list` | `help webdav-backup-list` | List backups |
| `webdav-restore` | `help webdav-restore` | Restore from backup |
| `webdav-push` | `help webdav-push` | Push VFS to server |
| `webdav-pull` | `help webdav-pull` | Pull from server |
## 3. What Does NOT Exist
There is **NO CLI delete** for WebDAV files. These will CRASH:
- `webdav-browser` ❌
- `webdav-explorer` ❌
- `webdav-delete` ❌
- `webdav-rm` ❌
## 4. Deleting Files
Since `curl` is also blocked, there is **no automated way** to delete WebDAV backups from the terminal. Use the WebDAV web interface outside the terminal.
## 5. For VFS Files (local filesystem)
Use `rm <file>` — this is a real command. Verify: `help rm`
|