Multiple targets with different target_preserve options
- Dominant language
- Perl
- Stars
- 2.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
What is the proper way to set multiple targets (for the same subvolume) that have different values for target_preserve? I would like to set a longer retention policy on the second target (backup2). Would you place a target_preserve option in front of each target declaration (like the below)? Is this even possible with Btrbk?
```
volume /mnt/raid
subvolume root
snapshot_dir snapshots
snapshot_create always
timestamp_format long
snapshot_preserve_min latest
snapshot_preserve 7d 4w
target_preserve_min latest
target_preserve 7d 4w
target send-receive /mnt/backup1/snapshots
target_preserve 7d 4w 12m 1y
target send-receive /mnt/backup2/snapshots
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.