digint / digint/btrbk

Subvolume overrides not respected

Open
#522 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

# Problem
When creating a config with a subvolume that defines a different `targert_preserve_min` the volume level definition is used. Might be related to #479.

``` bash
btrbk command line client, version 0.32.6-dev
```

# Example config
``` yaml
volume /mnt/btrfs
# local snapshot settings
snapshot_dir snapshots
snapshot_preserve_min 48h
snapshot_preserve 7d 4w 12m 5y

# external snapshot settings
target /mnt/btrbackup2
target_preserve_min latest

# data to backup
subvolume @swarm
target_preserve_min all
```

The above config will attempt to retain only the latest snapshot on the target. If the volume level definition retention is removed then all snapshot will be pushed as expected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.