digitalocean-storage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

DigitalOcean Storage Skill

DigitalOcean 存储技能


progressive_disclosure: entry_point: summary: "DigitalOcean storage: Spaces object storage, Volumes block storage, NFS file storage, Snapshots, and Backups." when_to_use: - "When selecting object, block, or file storage" - "When designing backup and snapshot strategies" - "When attaching persistent storage to Droplets" quick_start: - "Choose Spaces, Volumes, or NFS" - "Provision storage in the target region" - "Attach or mount storage to compute" - "Enable snapshots or backups" token_estimate: entry: 90-110 full: 3800-5000


progressive_disclosure: entry_point: summary: "DigitalOcean存储:Spaces对象存储、Volumes块存储、NFS文件存储、快照和备份。" when_to_use: - "选择对象存储、块存储或文件存储时" - "设计备份和快照策略时" - "为Droplets挂载持久化存储时" quick_start: - "选择Spaces、Volumes或NFS" - "在目标区域预配存储资源" - "将存储附加或挂载到计算资源" - "开启快照或备份功能" token_estimate: entry: 90-110 full: 3800-5000

Overview

概述

DigitalOcean storage includes S3-compatible object storage, network-attached block storage, managed NFS, plus snapshots and backups for recovery workflows.
DigitalOcean存储包含兼容S3的对象存储、网络附加块存储、托管NFS,以及用于恢复流程的快照和备份功能。

Spaces Object Storage

Spaces 对象存储

Use Spaces for large datasets, static assets, and logs.
  • Create a Space in the required region.
  • Generate access keys for S3-compatible tooling.
  • Configure access controls for public or private objects.
Spaces适用于存储大型数据集、静态资源和日志。
  • 在所需区域创建Space。
  • 为兼容S3的工具生成访问密钥。
  • 为公开或私有对象配置访问控制。

Volumes Block Storage

Volumes 块存储

Use Volumes to add persistent block storage to Droplets.
  • Create a Volume in the same region as the Droplet.
  • Attach the Volume to a Droplet.
  • Mount the Volume on the Droplet OS.
使用Volumes为Droplets添加持久化块存储。
  • 在与Droplet相同的区域创建Volume。
  • 将Volume附加到Droplet。
  • 在Droplet操作系统上挂载Volume。

NFS File Storage

NFS 文件存储

Use managed NFS for shared file access across services.
  • Provision an NFS file system.
  • Mount from compute resources that require shared storage.
使用托管NFS实现跨服务的共享文件访问。
  • 预配NFS文件系统。
  • 从需要共享存储的计算资源挂载该文件系统。

Snapshots

快照

Use snapshots for on-demand backups of Droplets or Volumes.
  • Create snapshots before major changes.
  • Use snapshots to create new Droplets or Volumes.
使用快照对Droplet或Volume进行按需备份。
  • 在进行重大变更前创建快照。
  • 使用快照创建新的Droplet或Volume。

Backups

备份

Use scheduled backups for routine recovery points.
  • Enable backups on Droplets.
  • Restore from backups during recovery.
使用定时备份生成常规恢复点。
  • 为Droplet开启备份功能。
  • 恢复时从备份中还原数据。

Storage Selection Guide

存储选择指南

  • Use Spaces for object storage and static assets.
  • Use Volumes for persistent block storage on Droplets.
  • Use NFS for shared POSIX file storage.
  • Use Snapshots for point-in-time recovery.
  • Use Backups for scheduled system-level protection.
  • 使用 Spaces 存储对象数据和静态资源。
  • 使用 Volumes 为Droplet提供持久化块存储。
  • 使用 NFS 提供共享POSIX文件存储。
  • 使用 快照 实现时间点恢复。
  • 使用 备份 实现定时系统级保护。

Complementary Skills

配套技能

When using this skill, consider these related skills (if deployed):
  • digitalocean-compute: Droplets and App Platform storage attachment.
  • digitalocean-containers-images: Image and registry workflows.
  • digitalocean-managed-databases: Data backups and migration planning.
Note: Complementary skills are optional. This skill is fully functional without them.
使用本技能时,如果已部署以下相关技能,可搭配使用:
  • digitalocean-compute:Droplets和App Platform存储挂载。
  • digitalocean-containers-images:镜像和镜像仓库工作流。
  • digitalocean-managed-databases:数据备份和迁移规划。
注意:配套技能为可选项,不使用这些技能也可正常使用本技能的全部功能。

Resources

资源