File Replication
Cheat sheet · https://pcornel.dk/topic.php?topic=4235
Answer
A file replication engine identifies changed objects in a namespace and copies file contents plus supported metadata. Open-file semantics, rename ordering, ACLs, alternate streams, sparse attributes and conflict behavior are product-specific.
Remember
- File replication ≠ block replication.
- File count match ≠ metadata/ACL parity.
- Copy complete ≠ open application state consistent.
- Namespace reachable ≠ every file version current.
First checks
rsync -aHAX --delete --dry-run <src>/ <dst>/— file sync previewGet-DfsrBacklog -SourceComputerName <a> -DestinationComputerName <b> -GroupName <g> -FolderName <f>— DFSR backlogzfs send/recv— dataset replication
Verify in this order
file changes → replication tool → target files
Where it usually breaks
First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.
Replication → File Replication proof map
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Change capture, queue/transport, target apply and currency checkpoint | A healthy adjacent component is not end-to-end proof |
| Failure boundary | Successful file replication proves selected namespace objects were transferred according to the engine semantics; it does not prove open application transactions or unsupported metadata were preserved. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for File Replication: source and target identity/ownership are unambiguous, replication advances through the expected checkpoint, target apply succeeds, and the required read-back or promotion test matches the protected state. | Close only after original read-back/recovery test and protection-state verification |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4235