aboutsummaryrefslogtreecommitdiff
path: root/skills/webdav-operations.md
diff options
context:
space:
mode:
Diffstat (limited to 'skills/webdav-operations.md')
-rw-r--r--skills/webdav-operations.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/skills/webdav-operations.md b/skills/webdav-operations.md
new file mode 100644
index 0000000..098449c
--- /dev/null
+++ b/skills/webdav-operations.md
@@ -0,0 +1,33 @@
+---
+name: webdav-operations
+description: How to use WebDAV cloud storage for backup, file sync, and remote file access
+tags: [webdav, cloud, backup, sync, storage]
+category: system
+---
+## Steps
+1. **Configuration:**
+ - webdav-config — configure WebDAV endpoint URL and credentials
+ - Connection auto-tested on config; webdav-status shows connection health
+ - Uses per-user token stored in .token file on the server side
+
+2. **File operations:**
+ - webdav-ls [path] — list remote directory contents
+ - webdav-push <local-path> <remote-path> — upload file to WebDAV
+ - webdav-pull <remote-path> [local-path] — download file from WebDAV
+ - webdav-explorer — GUI file browser for WebDAV
+ - webdav-browser — CLI file browser for WebDAV
+
+3. **Backup & Restore:**
+ - webdav-backup — push full VFS snapshot to WebDAV (creates /backups/newos4-<date>.json)
+ - webdav-backup-list — list all remote backup snapshots
+ - webdav-restore <filename> — restore VFS from a remote backup snapshot
+
+4. **Status & Diagnostics:**
+ - webdav-status — connection status, last sync, space information
+ - If uploads fail: check webdav-config, ensure .token file is valid
+ - WebDAV runs on the same server (nginx with WebDAV module), no external dependency
+
+5. **When to use:**
+ - Before factory-reset: webdav-backup to store VFS remotely
+ - Cross-browser: webdav-push/pull to move files between instances
+ - User says "cloud backup" or "remote save" → webdav-backup \ No newline at end of file