candide-guevara / btrfs_to_glacier

Makes periodic snapshots of my btrfs volumes and upload them to Glacier.
GNU General Public License v2.0
0 stars 1 forks source link

Do 2 invocations of btrfs-send return the exact same data ? #2

Closed candide-guevara closed 1 year ago

candide-guevara commented 3 years ago

If I call twice btrfs-send to get differential data on a same snapshot, do I get the exact same bytes ?

This is important if I want to enable resumable uploads of snapshots. Snapshot data is broken into chunks. If an upload fails but some chunks were uploaded successfully, can I just resume the upload of the missing chunks ? Will the result be the same byte per byte as a fully successful upload ?

candide-guevara commented 1 year ago

Could not get a response for this one from btrfs devs. Resuming broken streams will not be possible to be on the safe side.