diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 6086a138b9..d3f9560927 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -203,6 +203,16 @@ default) can expire the host's slots; keep host clocks synchronized. ## Snapshots, restore and space +**Warning: SeaweedFS's own copy tools are not a backup of a block volume.** +- Do not point SeaweedFS's S3 backup sink at the filer directory that holds the block store (`--chunk-path`, + `/swblock/chunks` by default). A copy made that way cannot be restored: the sink writes the attributes sw-block + keeps on each entry as S3 object tags, and nothing reads them back. It also re-uploads the whole 4 MiB chunk on any + update of its entry (each cleaning mark or reuse), and S3 allows at most 10 tags per object. +- A copy to a second SeaweedFS filer keeps the attributes, but it copies entry by entry and asynchronously. A copy of + a live volume can hold a HEAD that names chunks not yet copied, or chunks the source has since cleaned. It is a + consistent backup only of a volume that was sealed and idle while the copy caught up. +- Export of a snapshot to another object store, and import from it, is planned for v1.0.2. + A chunk volume delete refuses to reserve a volume while its lease may still be live. Once the permanent reservation succeeds at blockmaster, the volume cannot be returned to service, even if a snapshot dependent refuses the next step. Resolve snapshot dependents and rerun with the same request id;