2024-03-28 18:25:52 +00:00
|
|
|
Enhancement: (alpha) Store deviceID only for hardlinks
|
|
|
|
|
|
|
|
Set `RESTIC_FEATURES=device-id-for-hardlinks` to enable this alpha feature.
|
|
|
|
The feature flag will be removed after repository format version 3 becomes
|
|
|
|
available or be replaced with a different solution.
|
|
|
|
|
|
|
|
When creating backups from a filesystem snapshot, for example created using
|
2024-07-22 22:19:22 +00:00
|
|
|
BTRFS subvolumes, the deviceID of the filesystem changes compared to previous
|
2024-03-28 18:25:52 +00:00
|
|
|
snapshots. This prevented restic from deduplicating the directory metadata of
|
|
|
|
a snapshot.
|
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
When this alpha feature is enabled, the deviceID is only stored for hardlinks,
|
|
|
|
which significantly reduces the metadata duplication for most backups.
|
2024-03-28 18:25:52 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/pull/4006
|