borgbackup/borg

"sparse" block devices

Open

#5,609 opened on 2021年1月3日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Python (732 forks)batch import
help wantedquestion

Repository metrics

Stars
 (10,086 stars)
PR merge metrics
 (平均マージ 5d 12h) (30d で 91 merged PRs)

説明

for files on supporting filesystems, we have the SEEK_HOLE/SEEK_DATA api.

but this does not apply to block devices, we need something else to detect unused blocks in these.

For block devices, sometimes another API is supported:

Since recently, borg fixed blocksize chunker can accept a sparse map / file map, but there is no way yet to build that map for a block device.

Related to #14.

コントリビューターガイド