aboutsummaryrefslogtreecommitdiff
path: root/skills/webdav-operations.json
blob: a4800c651883a22012bd7621e88fcc29ba26e0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "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",
  "created": "2026-06-18T00:39:10.885Z",
  "updated": "2026-06-18T00:39:10.885Z",
  "content": "---\nname: webdav-operations\ndescription: How to use WebDAV cloud storage for backup, file sync, and remote file access\ntags: [webdav, cloud, backup, sync, storage]\ncategory: system\n---\n## Steps\n1. **Configuration:**\n   - webdav-config — configure WebDAV endpoint URL and credentials\n   - Connection auto-tested on config; webdav-status shows connection health\n   - Uses per-user token stored in .token file on the server side\n\n2. **File operations:**\n   - webdav-ls [path] — list remote directory contents\n   - webdav-push <local-path> <remote-path> — upload file to WebDAV\n   - webdav-pull <remote-path> [local-path] — download file from WebDAV\n   - webdav-explorer — GUI file browser for WebDAV\n   - webdav-browser — CLI file browser for WebDAV\n\n3. **Backup & Restore:**\n   - webdav-backup — push full VFS snapshot to WebDAV (creates /backups/newos4-<date>.json)\n   - webdav-backup-list — list all remote backup snapshots\n   - webdav-restore <filename> — restore VFS from a remote backup snapshot\n\n4. **Status & Diagnostics:**\n   - webdav-status — connection status, last sync, space information\n   - If uploads fail: check webdav-config, ensure .token file is valid\n   - WebDAV runs on the same server (nginx with WebDAV module), no external dependency\n\n5. **When to use:**\n   - Before factory-reset: webdav-backup to store VFS remotely\n   - Cross-browser: webdav-push/pull to move files between instances\n   - User says \"cloud backup\" or \"remote save\" → webdav-backup"
}