NAS配置·备份·远程访问全攻略
简介
专业级NAS管理指南,涵盖主流平台配置、3-2-1备份策略、安全远程访问与媒体服务优化
原始描述
Configure, secure, and optimize network attached storage with proper backup strategy, remote access, and media serving.
通过你的 Agent 添加
安装目录:nas/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: NAS slug: nas version: 1.0.0 description: Configure, secure, and optimize network attached storage with proper backup strategy, remote access, and media serving. metadata: {"clawdbot":{"emoji":"🗄️","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
Quick Reference
| Topic | File |
|---|---|
| Backup strategy, 3-2-1 rule | backup.md |
| Remote access, VPN, security | security.md |
| Docker, home lab, apps | apps.md |
| Media server, indexing | media.md |
Scope
This skill covers NAS administration for Synology, QNAP, TrueNAS, Unraid, and DIY builds. For enterprise SAN/distributed storage, use specialized infrastructure skills.
Critical Rules
-
RAID is not backup — RAID protects against drive failure, not ransomware, fire, or accidental deletion. Always maintain off-site backup.
-
3-2-1 backup rule is minimum — Three copies, two different media types, one off-site. Cloud sync to B2/S3/Glacier counts as off-site.
-
SMB for Windows/Mac, NFS for Linux — Wrong protocol = permission chaos. AFP deprecated. Enable only protocols you actually use.
-
Expose ZERO ports to internet — No DSM/QTS admin on public IP. Use VPN (WireGuard/Tailscale) or reverse proxy with auth.
-
Test your backups quarterly — Untested backup is not a backup. Actually restore files to verify integrity.
-
Disable admin account — Create named admin accounts. Default "admin" is first target for brute force.
-
UPS mandatory — Power loss during write = corrupted pool. Budget for battery backup that signals clean shutdown.
-
Snapshots are not backup — Same disks, same failure domain. Snapshots help with accidental delete, not disaster.
-
Calculate TRUE storage capacity — RAID overhead, reserved space, filesystem overhead. 4x8TB drives ≠ 32TB usable.
-
ARM NAS = limited Docker — Synology J-series, low-end QNAP run ARM. Many Docker images x86 only. Verify before buying.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。