synology-backup
pfrederiksen द्वारा
Web & Frontend Developmentसंक्षिप्त
Backup and restore OpenClaw workspace, configs, and agent data to a Synology NAS via SMB.
विवरण
यह स्किल क्या करती है
Backs up OpenClaw workspace files, configs, and agent data to a Synology NAS over SMB. Runs incremental daily snapshots with configurable retention and supports Tailscale for secure VPS-to-NAS connectivity.
Incremental rsync-based snapshots keep storage usage low while Tailscale avoids exposing SMB to the public internet.
इसे कब इस्तेमाल करें
- Automated nightly backup of OpenClaw workspace to a home NAS
- Restoring agent configs after a VPS failure or reinstall
- Checking backup health before making major config changes
- Syncing a remote VPS to a local NAS securely over Tailscale
- Pruning old snapshots to stay within NAS storage limits
उदाहरण वर्कफ़्लो
User asks: Set up daily backups of my OpenClaw workspace to my Synology NAS
- 1
Creates ~/.openclaw/.smb-credentials with chmod 600 and the user's Synology credentials
- 2
Writes synology-backup.json config with host IP, share path, backup paths, and retention settings
- 3
Installs cifs-utils and rsync via apt-get
- 4
Runs scripts/backup.sh to perform the first full backup
- 5
Runs scripts/status.sh to confirm mount health and snapshot count
Incremental daily snapshots stored under backups/openclaw/<date>/ on the NAS with 7-day retention
आवश्यकताएँ
- Synology NAS with SMB enabled and a dedicated backup user account
- Tailscale account (required only for remote VPS-to-NAS connectivity)
इंस्टॉलेशन
clawhub install pfrederiksen/synology-backupCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।