mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
docs(operator-guide): SeaweedFS's copy tools are not a backup of a block volume
The S3 backup sink loses the entry attributes on the way back and re-uploads whole chunks on each entry update; a second filer copy is consistent only for a sealed, idle volume after it caught up. Snapshot export and import are planned for v1.0.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5d6c0883e9
commit
b9bfae4b81
1 file changed
+10
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user